[Erp5-report] ERP5 Unit Test
seb at nexedi.com
seb at nexedi.com
Wed Jun 14 07:18:04 CEST 2006
Date : 2006-06-14
Ran 65 tests in 143.795s
FAILED (errors=65)
Ran Unit test of Alarm
Ran 11 tests in 66.173s
OK
Ran 14 tests in 80.937s
FAILED (errors=14)
Ran 14 tests in 73.013s
FAILED (errors=14)
Ran 9 tests in 82.642s
FAILED (errors=9)
Ran 11 tests in 114.612s
FAILED (errors=11)
Ran 12 tests in 79.749s
FAILED (errors=12)
Ran 21 tests in 89.460s
FAILED (errors=21)
Ran 5 tests in 77.654s
FAILED (errors=5)
Ran 8 tests in 94.906s
FAILED (errors=8)
Ran 15 tests in 79.575s
FAILED (errors=15)
Ran 12 tests in 73.981s
FAILED (errors=12)
Ran 1 test in 68.793s
FAILED (errors=1)
Ran 3 tests in 79.349s
FAILED (errors=3)
Ran 2 tests in 65.148s
FAILED (errors=2)
Ran 4 tests in 59.192s
FAILED (errors=4)
Ran 3 tests in 85.463s
FAILED (errors=3)
Ran 7 tests in 64.104s
FAILED (errors=7)
Ran Unit test of Business Template
Ran 21 tests in 443.403s
FAILED (errors=4)
Ran Unit test of Trash Tool
Ran 4 tests in 111.046s
FAILED (errors=2)
Ran 14 tests in 122.624s
FAILED (errors=5)
Ran 3 tests in 66.196s
FAILED (errors=3)
Ran 7 tests in 59.943s
FAILED (errors=7)
Ran 20 tests in 76.883s
FAILED (errors=20)
Ran 20 tests in 109.368s
FAILED (failures=1, errors=14)
Ran Unit test of Portal Preference
Ran 5 tests in 97.571s
OK
Ran 33 tests in 77.323s
FAILED (errors=27)
Ran 6 tests in 67.166s
FAILED (errors=6)
-------------- 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 (9.220s)
/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.183s)
Installing Photo ... done (0.360s)
Installing Formulator ... done (1.758s)
Installing ZSQLMethods ... done (0.021s)
Installing ZMySQLDA ... done (0.395s)
Installing ZSQLCatalog ... done (0.129s)
Installing ZMailIn ... done (0.116s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.038s)
Installing MailHost ... done (0.445s)
Installing PageTemplates ... done (0.085s)
Installing PythonScripts ... done (0.043s)
Installing ExternalMethod ... done (0.070s)
Installing iHotfix ... done (0.027s)
Installing Localizer ... done (0.087s)
Installing TimerService ... done (0.093s)
Installing CMFCore ... done (0.195s)
Installing CMFDefault ... done (0.113s)
Installing CMFTopic ... done (0.030s)
Installing DCWorkflow ... done (0.082s)
Installing CMFCalendar ... done (0.097s)
Installing CMFPhoto ... done (0.106s)
Installing BTreeFolder2 ... done (0.054s)
Installing CMFReportTool ... done (1.423s)
Installing CMFMailIn ... done (0.055s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.127s)
Installing PluggableAuthService ... done (0.282s)
Installing ERP5Security ... done (0.143s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.138s)
Installing ERP5Catalog ... done (0.408s)
Installing ERP5Type ... done (0.130s)
Installing ERP5Form ... done (4.037s)
Installing ERP5SyncML ... done (0.743s)
Installing CMFCategory ... done (0.073s)
Installing ERP5 ... done (0.064s)
Installing ERP5OOo ... done (0.100s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e ERP5 Site ... done (77.993s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_DeferedSetTitleSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_02_DeferedSetTitleSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_03_DeferedSetTitleRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_04_DeferedSetTitleRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_05_InvokeAndCancelSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_06_InvokeAndCancelSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_07_InvokeAndCancelRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_08_InvokeAndCancelRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_09_CallOnceWithSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_10_CallOnceWithSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_11_CallOnceWithRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_12_CallOnceWithRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_13_TryMessageWithErrorOnSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_14_TryMessageWithErrorOnSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_15_TryMessageWithErrorOnRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_16_TryMessageWithErrorOnRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_17_TryFlushActivityWithSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_18_TryFlushActivityWithSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_19_TryFlushActivityWithRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_20_TryFlushActivityWithRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_21_TryActivateInsideFlushWithSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_22_TryActivateInsideFlushWithSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_23_TryActivateInsideFlushWithRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_24_TryActivateInsideFlushWithRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_25_TryTwoMethodsWithSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_26_TryTwoMethodsWithSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_27_TryTwoMethodsWithRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_28_TryTwoMethodsWithRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_29_TryTwoMethodsAndFlushThemWithSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_30_TryTwoMethodsAndFlushThemWithSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_31_TryTwoMethodsAndFlushThemWithRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_32_TryTwoMethodsAndFlushThemWithRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_33_TryActivateFlushActivateTicWithSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_34_TryActivateFlushActivateTicWithSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_35_TryActivateFlushActivateTicWithRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_36_TryActivateFlushActivateTicWithRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_37_TryActivateFlushActivateTicWithMultipleActivities (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_38_TryCommitSubTransactionWithSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_39_TryCommitSubTransactionWithSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_40_TryCommitSubTransactionWithRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_41_TryCommitSubTransactionWithRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_42_TryRenameObjectWithSQLDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_43_TryRenameObjectWithSQLQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_44_TryRenameObjectWithRAMDict (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
ERROR: test_45_TryRenameObjectWithRAMQueue (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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
======================================================================
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 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFActivity/tests/testCMFActivity.py", line 115, in afterSetUp
id='organisation')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Organisation Module
----------------------------------------------------------------------
Ran 65 tests in 143.795s
FAILED (errors=65)
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.389s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.033s)
Installing Formulator ... done (1.182s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.067s)
Installing ZSQLCatalog ... done (0.043s)
Installing ZMailIn ... done (0.025s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.019s)
Installing PythonScripts ... done (0.017s)
Installing ExternalMethod ... done (0.020s)
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.049s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.526s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.025s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (3.169s)
Installing ERP5SyncML ... done (0.081s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_7e756eb972f79d46577096e1f775b137 ERP5 Site ... done (44.802s)
Logout ...
done (59.667s)
Ran Unit test of Alarm
Test Has Everything .
Test Initialization .
Test Every Hour .
Test Every 3 Hours .
Test Some Hours .
Every Day Once .
Every 3 Days Some Hours .
Some Week Days Some Hours .
Some Month Days Some Hours .
Once Every 2 Month .
Every Day Once Week 41 And 43 .
----------------------------------------------------------------------
Ran 11 tests in 66.173s
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.336s)
/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.039s)
Installing Formulator ... done (1.266s)
Installing ZSQLMethods ... done (0.012s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.031s)
Installing ZMailIn ... done (0.020s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.022s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.014s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.015s)
Installing CMFTopic ... done (0.018s)
Installing DCWorkflow ... done (0.028s)
Installing CMFCalendar ... done (0.073s)
Installing CMFPhoto ... done (0.028s)
Installing BTreeFolder2 ... done (0.017s)
Installing CMFReportTool ... done (0.467s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.020s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.026s)
Installing ERP5Form ... done (3.093s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_dcfea2620c5518173c2447c6c5320b6b ERP5 Site ... done (61.915s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEEEEEEEEE
======================================================================
ERROR: check necessary tools and modules are present.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: test edition of matrix and rule.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: test predicates for the cells of invoice transaction rule
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Simple Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Same test as SimpleInvoice but directly confirm the invoice
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Simple Invoice, 2 lines.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Simple Invoice, 2 cells.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Add a new line then updateAppliedRule.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Tests that editing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Tests that removing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Tests that updating an applied rule many times doesn't break the
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Multiple lines invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Payment Rule.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 124, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccountingRules.py", line 145, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
----------------------------------------------------------------------
Ran 14 tests in 80.937s
FAILED (errors=14)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.194s)
/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.036s)
Installing Formulator ... done (1.211s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.037s)
Installing ZMailIn ... done (0.030s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
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.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.042s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.456s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.029s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.916s)
Installing ERP5SyncML ... done (0.062s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.020s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd ERP5 Site ... done (58.305s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEEEEEEEEE
======================================================================
ERROR: Basic test for Accounting Periods
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
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 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
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 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
ERROR: Accounting Periods prevents transactions to be validated
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
ERROR: Transaction validation and accounts
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
ERROR: Transaction validation and balance
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
ERROR: Transaction validation and currency
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
ERROR: Transaction validation and dates
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
ERROR: Transaction validation and payment
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
ERROR: Transaction validation removes empty lines
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
ERROR: Transaction validation and section
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
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 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
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 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
======================================================================
ERROR: Basic test for multi currency accounting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 96, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 112, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'group'
----------------------------------------------------------------------
Ran 14 tests in 73.013s
FAILED (errors=14)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.361s)
/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.032s)
Installing Photo ... done (0.039s)
Installing Formulator ... done (1.077s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.024s)
Installing iHotfix ... done (0.015s)
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.023s)
Installing BTreeFolder2 ... done (0.020s)
Installing CMFReportTool ... done (0.487s)
Installing CMFMailIn ... done (0.026s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.029s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.024s)
Installing ERP5Form ... done (2.976s)
Installing ERP5SyncML ... done (0.060s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.022s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_3e4a0d2d45ee766e3fa783f39820361c ERP5 Site ... done (59.004s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEEEE
======================================================================
ERROR: Checks that a Simple Invoice is created from a Packing List
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 107, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: This test was created for the following bug:
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 107, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: Invoice Rule should not be applied on invoice lines created from Packing List.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 107, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: Delivery Rule should not be applied on packing list lines created from Order.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 107, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: Checks that editing a Packing List Line still creates a correct
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 107, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: Checks that deleting a Packing List Line still creates a correct
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 107, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: Checks that adding a Packing List Line still creates a correct
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 107, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: Change the quantity of a Invoice Line,
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 107, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: Change the start_date of a Invoice Line,
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 107, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
----------------------------------------------------------------------
Ran 9 tests in 82.642s
FAILED (errors=9)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.411s)
/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.037s)
Installing Photo ... done (0.047s)
Installing Formulator ... done (1.544s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.036s)
Installing ZMailIn ... done (0.028s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.038s)
Installing PageTemplates ... done (0.019s)
Installing PythonScripts ... done (0.018s)
Installing ExternalMethod ... done (0.025s)
Installing iHotfix ... done (0.018s)
Installing Localizer ... done (0.018s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.029s)
Installing CMFDefault ... done (0.022s)
Installing CMFTopic ... done (0.019s)
Installing DCWorkflow ... done (0.015s)
Installing CMFCalendar ... done (0.055s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.503s)
Installing CMFMailIn ... done (0.013s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.018s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.052s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (3.684s)
Installing ERP5SyncML ... done (0.060s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_11168acb17e5ee22093b7f163496420e ERP5 Site ... done (56.470s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEEEEEE
======================================================================
ERROR: test_01_getVariationBaseCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_02_getVariationRangeCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_03_getVariationRangeCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_04_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_05_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_06_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_07_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_08_variationPropertyList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_09_getPrice (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_11_getPriceWithDestination (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 107, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testResource.py", line 123, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
----------------------------------------------------------------------
Ran 11 tests in 114.612s
FAILED (errors=11)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.629s)
/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.035s)
Installing Formulator ... done (1.597s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.032s)
Installing ZMailIn ... done (0.018s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.025s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.016s)
Installing ExternalMethod ... done (0.037s)
Installing iHotfix ... done (0.020s)
Installing Localizer ... done (0.020s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.018s)
Installing CMFDefault ... done (0.024s)
Installing CMFTopic ... done (0.020s)
Installing DCWorkflow ... done (0.023s)
Installing CMFCalendar ... done (0.055s)
Installing CMFPhoto ... done (0.027s)
Installing BTreeFolder2 ... done (0.025s)
Installing CMFReportTool ... done (0.670s)
Installing CMFMailIn ... done (0.022s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.040s)
Installing PluggableAuthService ... done (0.029s)
Installing ERP5Security ... done (0.022s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.094s)
Installing ERP5Catalog ... done (0.029s)
Installing ERP5Type ... done (0.038s)
Installing ERP5Form ... done (4.640s)
Installing ERP5SyncML ... done (0.107s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 ERP5 Site ... done (62.950s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
No Interactions E
Interactions On Edit E
Interactions, Edit Set Description and also After Script E
Interactions, Automatic Workflow Method E
Interactions, Automatic Workflow Method With Extra Base Category E
Interactions, Check If There Is Only One Call E
Interactions, Check If The Return Value Is Not Altered E
Interactions, Check If Multiple method_id Can Be Hooked E
Interactions, Check if the same method_id can be hooked by two Interactions E
Interactions, check if multiple scripts can be called E
Interactions, Test that the private accessor is called E
Interactions, Test that the private accessor is called, when using an Acquired Property E
======================================================================
ERROR: test_01 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 132, in test_01
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_02 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 151, in test_02
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_03 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 171, in test_03
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_04 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 190, in test_04
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_05 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 210, in test_05
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_06 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 232, in test_06
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_07 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 254, in test_07
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_08 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 279, in test_08
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_09 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 312, in test_09
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_10 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 345, in test_10
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_11 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 383, in test_11
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_12 (testInteractionWorkflow.TestInteractionWorkflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 420, in test_12
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 86, in createData
portal_type = self.getTypeTool()['Organisation']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
----------------------------------------------------------------------
Ran 12 tests in 79.749s
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 (4.732s)
/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.188s)
Installing Formulator ... done (1.117s)
Installing ZSQLMethods ... done (0.013s)
Installing ZMySQLDA ... done (0.261s)
Installing ZSQLCatalog ... done (0.040s)
Installing ZMailIn ... done (0.018s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.132s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.043s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.811s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.104s)
Installing ERP5Security ... done (0.014s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.053s)
Installing ERP5Catalog ... done (0.020s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (3.318s)
Installing ERP5SyncML ... done (0.167s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.017s)
Installing ERP5OOo ... done (0.023s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_97ad677fdc3692c02e03838b9465053d ERP5 Site ... done (64.764s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_singlePackingListImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_02_singleItemImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_03_complexItemStructureImmobilisationStateChange (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_04_TestContinuousMethodMovementValidity (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_05_TestImmobilisationPeriodsWithContinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_06_TestImmobilisationPeriodsWithContinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_07_TestImmobilisationPeriodsWithUncontinuousMethodDuringContinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_08_TestImmobilisationPeriodsWithUncontinuousMethodDuringUncontinuousTime (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_09_TestAmortisationPriceAndSimulationForLinearAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_10_TestAmortisationPriceForDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_11_TestAmortisationPriceAndSimulationForUncontinuousDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_12_TestAmortisationPriceForActualUseDegressiveAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_13_TestAmortisationPriceForNoAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_14_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_15_TestOwnerChangeSimulationForUnContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_16_TestOwnerChangeSimulationForContinuousAmortisationMethod (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_17_TestMonthlyAmortisation (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_18_TestAccountingBuilding (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_19_TestAccountingBuildingAndDivergence (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
======================================================================
ERROR: test_21_TestSimulationBuildingWithValidatedTransactions (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 130, in afterSetUp
self.createCurrency()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 174, in createCurrency
currency_module = self.getCurrencyModule()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testImmobilisation.py", line 117, in getCurrencyModule
return self.getPortal().getDefaultModule(portal_type=self.currency_portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Currency
----------------------------------------------------------------------
Ran 21 tests in 89.460s
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 (1.138s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.101s)
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.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.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.038s)
Installing CMFPhoto ... done (0.024s)
Installing BTreeFolder2 ... done (0.015s)
Installing CMFReportTool ... done (0.453s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.023s)
Installing PluggableAuthService ... done (0.025s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.050s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.898s)
Installing ERP5SyncML ... done (0.108s)
Installing CMFCategory ... done (0.018s)
Installing ERP5 ... done (0.029s)
Installing ERP5OOo ... done (0.031s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e409e02fd9d3331c5822785a4fd66452 ERP5 Site ... done (63.070s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
Search Predicate List With No Test E
Search Predicate List With Test E
Generate Mapped Value E
Generate Mapped Value With Ranges E
Generate Mapped Value With Variation E
======================================================================
ERROR: test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 299, in test_01_SearchPredidateListWithNoTest
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 110, in createData
module_type = type_tool['Organisation Module']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation Module'
======================================================================
ERROR: test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 306, in test_02_SearchPredidateListWithTest
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 110, in createData
module_type = type_tool['Organisation Module']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation Module'
======================================================================
ERROR: test_03_GenerateMappedValue (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 313, in test_03_GenerateMappedValue
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 110, in createData
module_type = type_tool['Organisation Module']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation Module'
======================================================================
ERROR: test_04_GenerateMappedValueWithRanges (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 332, in test_04_GenerateMappedValueWithRanges
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 110, in createData
module_type = type_tool['Organisation Module']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation Module'
======================================================================
ERROR: test_05_GenerateMappedValueWithVariation (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 362, in test_05_GenerateMappedValueWithVariation
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 110, in createData
module_type = type_tool['Organisation Module']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation Module'
----------------------------------------------------------------------
Ran 5 tests in 77.654s
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.173s)
/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.054s)
Installing Formulator ... done (1.182s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.031s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.422s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.050s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.964s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.016s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 ERP5 Site ... done (60.544s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEEE
======================================================================
ERROR: test_01 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 109, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_02 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 109, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_03 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 109, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_04 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 109, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_05 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 109, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_06 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 109, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_07 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 109, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
======================================================================
ERROR: test_08 (testERP5Category.TestERP5Category)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5Category.py", line 109, in afterSetUp
portal_type = self.getTypeTool()[self.portal_type]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Organisation'
----------------------------------------------------------------------
Ran 8 tests in 94.906s
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.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.023s)
Installing Photo ... done (0.034s)
Installing Formulator ... done (1.095s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.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.011s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.432s)
Installing CMFMailIn ... done (0.013s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.026s)
Installing PluggableAuthService ... done (0.018s)
Installing ERP5Security ... done (0.015s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.064s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.832s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.016s)
Installing ERP5 ... done (0.018s)
Installing ERP5OOo ... done (0.023s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_f56e40505f8cecd1db294fdab2822698 ERP5 Site ... done (60.996s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEEEEEEEEEE
======================================================================
ERROR: test_01_OrderLine_getVariationRangeCategoryList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_02_OrderLine_getVariationRangeCategoryItemList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_03_OrderLine_getVariationCategoryList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_04_OrderLine_getVariationCategoryItemList (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_05_OrderLine_Matrix (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_06_OrderLine_getTotalQuantity (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_07_OrderLine_getTotalPrice (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_08_Order_testTotalQuantity (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_09_Order_testTotalPrice (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_10_Order_testSimulationState (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_11_testPropertiesAcquisition (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_12_testAppliedRuleGeneration (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_13_testAppliedRuleUpdate (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_15_deliveryBuilder (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_16_deliveryBuilderWithNoTic (testOrder.TestOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
----------------------------------------------------------------------
Ran 15 tests in 79.575s
FAILED (errors=15)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.256s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.126s)
Installing ZSQLMethods ... done (0.011s)
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.011s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.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.479s)
Installing CMFMailIn ... done (0.015s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.053s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.987s)
Installing ERP5SyncML ... done (0.062s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.040s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e549dcf540388768207010303f288957 ERP5 Site ... done (54.039s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEEEEEEE
======================================================================
ERROR: test_01_PackingListDecreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_02_PackingListChangeDestination (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_03_PackingListChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_04_PackingListDeleteLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_05_SimulationChangeQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_06_SimulationChangeStartDate (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_07_SimulationChangeStartDateWithTwoOrderLine (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_08_AddContainers (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_09_AddContainersWithVariatedResources (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_10_PackingListIncreaseQuantity (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_11_PackingListDecreaseTwoTimesQuantityAndUpdateDelivery (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_12_PackingListLineChangeResource (testPackingList.TestPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
----------------------------------------------------------------------
Ran 12 tests in 73.981s
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.815s)
/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.054s)
Installing Photo ... done (0.066s)
Installing Formulator ... done (1.831s)
Installing ZSQLMethods ... done (0.012s)
Installing ZMySQLDA ... done (0.085s)
Installing ZSQLCatalog ... done (0.060s)
Installing ZMailIn ... done (0.028s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.013s)
Installing MailHost ... done (0.039s)
Installing PageTemplates ... done (0.018s)
Installing PythonScripts ... done (0.022s)
Installing ExternalMethod ... done (0.037s)
Installing iHotfix ... done (0.013s)
Installing Localizer ... done (0.014s)
Installing TimerService ... done (0.018s)
Installing CMFCore ... done (0.024s)
Installing CMFDefault ... done (0.018s)
Installing CMFTopic ... done (0.016s)
Installing DCWorkflow ... done (0.017s)
Installing CMFCalendar ... done (0.050s)
Installing CMFPhoto ... done (0.020s)
Installing BTreeFolder2 ... done (0.025s)
Installing CMFReportTool ... done (0.765s)
Installing CMFMailIn ... done (0.020s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.038s)
Installing PluggableAuthService ... done (0.029s)
Installing ERP5Security ... done (0.021s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.095s)
Installing ERP5Catalog ... done (0.035s)
Installing ERP5Type ... done (0.046s)
Installing ERP5Form ... done (4.690s)
Installing ERP5SyncML ... done (0.088s)
Installing CMFCategory ... done (0.016s)
Installing ERP5 ... done (0.021s)
Installing ERP5OOo ... done (0.032s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_86b8ee6402cecf4144291d0b9356cceb ERP5 Site ... done (54.982s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
E
======================================================================
ERROR: test_01_getAggregatedAmountList (testTransformation.TestTransformation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
----------------------------------------------------------------------
Ran 1 test in 68.793s
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 (6.268s)
/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.142s)
Installing Photo ... done (0.197s)
Installing Formulator ... done (1.472s)
Installing ZSQLMethods ... done (0.036s)
Installing ZMySQLDA ... done (0.582s)
Installing ZSQLCatalog ... done (0.154s)
Installing ZMailIn ... done (0.100s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.022s)
Installing MailHost ... done (0.091s)
Installing PageTemplates ... done (0.071s)
Installing PythonScripts ... done (0.028s)
Installing ExternalMethod ... done (0.033s)
Installing iHotfix ... done (0.034s)
Installing Localizer ... done (0.056s)
Installing TimerService ... done (0.076s)
Installing CMFCore ... done (0.096s)
Installing CMFDefault ... done (0.097s)
Installing CMFTopic ... done (0.032s)
Installing DCWorkflow ... done (0.077s)
Installing CMFCalendar ... done (0.088s)
Installing CMFPhoto ... done (0.041s)
Installing BTreeFolder2 ... done (0.093s)
Installing CMFReportTool ... done (1.392s)
Installing CMFMailIn ... done (0.034s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.086s)
Installing PluggableAuthService ... done (0.098s)
Installing ERP5Security ... done (0.037s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.212s)
Installing ERP5Catalog ... done (0.131s)
Installing ERP5Type ... done (0.154s)
Installing ERP5Form ... done (4.949s)
Installing ERP5SyncML ... done (0.611s)
Installing CMFCategory ... done (0.095s)
Installing ERP5 ... done (0.065s)
Installing ERP5OOo ... done (0.146s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_445eec84cfafcd54035971a79b90526e ERP5 Site ... done (64.891s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEE
======================================================================
ERROR: test_01_testProductionSimulationExpand (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 84, in createCategories
TestOrderMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_02_testSourcingSimulationExpand (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 84, in createCategories
TestOrderMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_03_testIndustrialPhase (testProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testProductionOrder.py", line 84, in createCategories
TestOrderMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
----------------------------------------------------------------------
Ran 3 tests in 79.349s
FAILED (errors=3)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.354s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.033s)
Installing Formulator ... done (1.775s)
Installing ZSQLMethods ... done (0.024s)
Installing ZMySQLDA ... done (0.091s)
Installing ZSQLCatalog ... done (0.058s)
Installing ZMailIn ... done (0.031s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.020s)
Installing MailHost ... done (0.043s)
Installing PageTemplates ... done (0.020s)
Installing PythonScripts ... done (0.019s)
Installing ExternalMethod ... done (0.032s)
Installing iHotfix ... done (0.018s)
Installing Localizer ... done (0.023s)
Installing TimerService ... done (0.024s)
Installing CMFCore ... done (0.034s)
Installing CMFDefault ... done (0.033s)
Installing CMFTopic ... done (0.019s)
Installing DCWorkflow ... done (0.032s)
Installing CMFCalendar ... done (0.060s)
Installing CMFPhoto ... done (0.024s)
Installing BTreeFolder2 ... done (0.024s)
Installing CMFReportTool ... done (0.874s)
Installing CMFMailIn ... done (0.018s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.041s)
Installing PluggableAuthService ... done (0.033s)
Installing ERP5Security ... done (0.025s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.102s)
Installing ERP5Catalog ... done (0.030s)
Installing ERP5Type ... done (0.038s)
Installing ERP5Form ... done (3.153s)
Installing ERP5SyncML ... done (0.065s)
Installing CMFCategory ... done (0.017s)
Installing ERP5 ... done (0.017s)
Installing ERP5OOo ... done (0.022s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_2007b7d0ea09f77195204bf0c30be51b ERP5 Site ... done (48.735s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EE
======================================================================
ERROR: test_01_getInventory (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_02_InventoryModule (testInventory.TestInventory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInventory.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
----------------------------------------------------------------------
Ran 2 tests in 65.148s
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.191s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.033s)
Installing Formulator ... done (1.262s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.065s)
Installing ZSQLCatalog ... done (0.036s)
Installing ZMailIn ... done (0.029s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.012s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.018s)
Installing CMFCalendar ... done (0.039s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.018s)
Installing CMFReportTool ... done (0.497s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.074s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.026s)
Installing ERP5Form ... done (3.189s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.016s)
Installing ERP5 ... done (0.025s)
Installing ERP5OOo ... done (0.020s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 ERP5 Site ... done (44.845s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEE
======================================================================
ERROR: test_01_NotVariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_02_VariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_03_VariatedAggregatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
======================================================================
ERROR: test_04_VariatedAggregatedInventoryGetInventoryList (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 93, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 110, in createCategories
if len(self.category_tool.colour.contentValues()) == 0 :
AttributeError: colour
----------------------------------------------------------------------
Ran 4 tests in 59.192s
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 (1.216s)
/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.427s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.086s)
Installing ZSQLCatalog ... done (0.059s)
Installing ZMailIn ... done (0.032s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.019s)
Installing MailHost ... done (0.043s)
Installing PageTemplates ... done (0.019s)
Installing PythonScripts ... done (0.017s)
Installing ExternalMethod ... done (0.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.013s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.017s)
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.014s)
Installing CMFReportTool ... done (0.458s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.024s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.014s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.057s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.026s)
Installing ERP5Form ... done (3.666s)
Installing ERP5SyncML ... done (0.083s)
Installing CMFCategory ... done (0.024s)
Installing ERP5 ... done (0.029s)
Installing ERP5OOo ... done (0.039s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_f80541c5aaf4c3f119b407441b57c512 ERP5 Site ... done (48.068s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
Starting New Sequence 1...
Playing step... CreateOrganisationE
Starting New Sequence 1...
Playing step... CreatePersonE
Starting New Sequence 1...
Playing step... CreatePersonE
======================================================================
ERROR: test_01_Organisation (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 718, in test_01_Organisation
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 283, in stepCreateOrganisation
organisation_module = self.portal.getDefaultModule(portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Organisation
======================================================================
ERROR: test_02_Person (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 734, in test_02_Person
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 479, in stepCreatePerson
person_module = self.portal.getDefaultModule(portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Person
======================================================================
ERROR: test_03_Subordination (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 750, in test_03_Subordination
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 479, in stepCreatePerson
person_module = self.portal.getDefaultModule(portal_type)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Person
----------------------------------------------------------------------
Ran 3 tests in 85.463s
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 (3.274s)
/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.040s)
Installing Photo ... done (0.117s)
Installing Formulator ... done (1.491s)
Installing ZSQLMethods ... done (0.017s)
Installing ZMySQLDA ... done (0.143s)
Installing ZSQLCatalog ... done (0.047s)
Installing ZMailIn ... done (0.031s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.020s)
Installing MailHost ... done (0.067s)
Installing PageTemplates ... done (0.018s)
Installing PythonScripts ... done (0.020s)
Installing ExternalMethod ... done (0.033s)
Installing iHotfix ... done (0.022s)
Installing Localizer ... done (0.013s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.034s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.015s)
Installing CMFCalendar ... done (0.039s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.740s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.030s)
Installing PluggableAuthService ... done (0.108s)
Installing ERP5Security ... done (0.024s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.085s)
Installing ERP5Catalog ... done (0.030s)
Installing ERP5Type ... done (0.038s)
Installing ERP5Form ... done (3.987s)
Installing ERP5SyncML ... done (0.110s)
Installing CMFCategory ... done (0.031s)
Installing ERP5 ... done (0.035s)
Installing ERP5OOo ... done (0.025s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_727747cf82e06a68e4b85b45326f6050 ERP5 Site ... done (49.348s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEE
======================================================================
ERROR: test_01_areActivitiesWellLaunchedByPropertyEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 106, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 114, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_02_areActivitiesWellLaunchedByCategoryEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 106, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 114, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_03_areActivitiesWellLaunchedByPropertySetter (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 106, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 114, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_04_areActivitiesWellLaunchedByCategorySetter (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 106, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 114, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_05_getPropertyWithoutPropertySheet (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 106, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 114, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_06_getPropertyOnTempClass (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 106, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 114, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_07_setEditProperty (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 106, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 114, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
----------------------------------------------------------------------
Ran 7 tests in 64.104s
FAILED (errors=7)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.430s)
/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.030s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.540s)
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.021s)
Installing iHotfix ... done (0.011s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.049s)
Installing CMFPhoto ... done (0.024s)
Installing BTreeFolder2 ... done (0.022s)
Installing CMFReportTool ... done (0.596s)
Installing CMFMailIn ... done (0.013s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.030s)
Installing ERP5Security ... done (0.025s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.076s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (3.596s)
Installing ERP5SyncML ... done (0.080s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5052d51039b979b3e050891c12342c2c ERP5 Site ... done (52.454s)
Adding erp5_csv_style business template ... done (2.457s)
Adding erp5_pdf_style business template ... done (2.919s)
Logout ...
done (89.209s)
Ran Unit test of Business Template
Test Check New Site
Starting New Sequence 1...
Playing step... UseCoreBusinessTemplate
Playing step... CheckTools
Playing step... CheckBuiltBuildingState
Playing step... CheckInstalledInstallationState
Playing step... CheckSkinsLayers.
Test Business Template With Portal Types
Starting New Sequence 1...
Playing step... CreatePortalType
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddPortalTypeToBusinessTemplate
Playing step... FillPortalTypesFields
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemovePortalType
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckPortalTypeExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckPortalTypeRemoved.
Test Business Template With Skin Folder
Starting New Sequence 1...
Playing step... CreateSkinFolder
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddSkinFolderToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveSkinFolder
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckSkinFolderExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckSkinFolderRemoved.
Test Business Template With Workflow
Starting New Sequence 1...
Playing step... CreateWorkflow
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddWorkflowToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveWorkflow
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckWorkflowExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckWorkflowRemoved.
Test Business Template With Module
Starting New Sequence 1...
Playing step... CreatePortalType
Playing step... CreateModuleAndObjects
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddPortalTypeToBusinessTemplate
Playing step... FillPortalTypesFields
Playing step... AddModuleToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemovePortalType
Playing step... RemoveModule
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckPortalTypeExists
Playing step... CheckModuleExists
Playing step... CheckModulePermissions
Playing step... CheckModuleObjectsRemoved
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckModuleRemoved
Playing step... CheckPortalTypeRemoved.
Test Business Template With Base Category
Starting New Sequence 1...
Playing step... CreateBaseCategory
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddBaseCategoryToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveBaseCategory
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckBaseCategoryExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckBaseCategoryRemoved.
Test Business Template With One Action
Starting New Sequence 1...
Playing step... CreatePortalType
Playing step... CreateFirstAction
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... AddPortalTypeToBusinessTemplate
Playing step... FillPortalTypesFields
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemovePortalType
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckPortalTypeExists
Playing step... CheckFirstActionExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckPortalTypeRemoved.
Test Business Template With Two Actions
Starting New Sequence 1...
Playing step... CreatePortalType
Playing step... CreateFirstAction
Playing step... CreateSecondAction
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... AddSecondActionToBusinessTemplate
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemovePortalType
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... CreatePortalType
Playing step... CreateFirstAction
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckFirstActionExists
Playing step... CheckSecondActionExists
Playing step... CheckActionsOrder
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckSecondActionNotExists
Playing step... RemovePortalType.
Test Business Template With A Simple Path
Starting New Sequence 1...
Playing step... CreateBaseCategory
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... AddBaseCategoryAsPathToBusinessTemplate
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveBaseCategory
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckBaseCategoryExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckBaseCategoryRemoved.
Test Business Template With Path And Joker *
Starting New Sequence 1...
Playing step... CreateBaseCategory
Playing step... CreateCategories
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... AddCategoriesAsPathToBusinessTemplate
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveCategories
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckCategoriesExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckCategoriesRemoved
Playing step... RemoveBaseCategory.
Test Business Template With Path And Joker **
Starting New Sequence 1...
Playing step... CreateBaseCategory
Playing step... CreateCategories
Playing step... CreateSubCategories
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... AddSubCategoriesAsPathToBusinessTemplate
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveCategories
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckCategoriesExists
Playing step... CheckSubCategoriesExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckCategoriesRemoved
Playing step... RemoveBaseCategory.
Test Business Template With Catalog Method, Related Key, Result Key And Table
Starting New Sequence 1...
Playing step... CreateCatalogMethod
Playing step... CreateKeysAndTable
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddCatalogMethodToBusinessTemplate
Playing step... AddKeysAndTableToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveCatalogMethod
Playing step... RemoveKeysAndTable
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckCatalogMethodExists
Playing step... CheckKeysAndTableExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckKeysAndTableRemoved
Playing step... CheckCatalogMethodRemoved.
Test Business Template With Role
Starting New Sequence 1...
Playing step... CreateRole
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddRoleToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveRole
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckRoleExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckRoleRemoved.
Test Business Template With Local Roles
Starting New Sequence 1...
Playing step... CreatePortalType
Playing step... CreateModuleAndObjects
Playing step... CreateLocalRoles
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddLocalRolesToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveLocalRoles
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckLocalRolesExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckLocalRolesRemoved
Playing step... RemoveModule
Playing step... RemovePortalType.
Test Business Template With Property Sheet
Starting New Sequence 1...
Playing step... CreatePropertySheet
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddPropertySheetToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemovePropertySheet
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckPropertySheetExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckPropertySheetRemoved.
Test Business Template With All Items
Starting New Sequence 1...
Playing step... CreatePortalType
Playing step... CreateModuleAndObjects
Playing step... CreateSkinFolder
Playing step... CreateBaseCategory
Playing step... CreateCategories
Playing step... CreateSubCategories
Playing step... CreateWorkflow
Playing step... CreateFirstAction
Playing step... CreateSecondAction
Playing step... CreateCatalogMethod
Playing step... CreateKeysAndTable
Playing step... CreateRole
Playing step... CreateLocalRoles
Playing step... CreatePropertySheet
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddPortalTypeToBusinessTemplate
Playing step... FillPortalTypesFields
Playing step... AddModuleToBusinessTemplate
Playing step... AddSkinFolderToBusinessTemplate
Playing step... AddBaseCategoryToBusinessTemplate
Playing step... AddSubCategoriesAsPathToBusinessTemplate
Playing step... AddWorkflowToBusinessTemplate
Playing step... AddCatalogMethodToBusinessTemplate
Playing step... AddKeysAndTableToBusinessTemplate
Playing step... AddRoleToBusinessTemplate
Playing step... AddLocalRolesToBusinessTemplate
Playing step... AddPropertySheetToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemovePortalType
Playing step... RemoveModule
Playing step... RemoveSkinFolder
Playing step... RemoveBaseCategory
Playing step... RemoveWorkflow
Playing step... RemoveCatalogMethod
Playing step... RemoveKeysAndTable
Playing step... RemoveRole
Playing step... RemovePropertySheet
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplate
Playing step... Tic
Playing step... CheckInstalledInstallationState
Playing step... CheckBuiltBuildingState
Playing step... CheckTrashBin
Playing step... CheckSkinsLayers
Playing step... CheckPortalTypeExists
Playing step... CheckModuleExists
Playing step... CheckSkinFolderExists
Playing step... CheckBaseCategoryExists
Playing step... CheckCategoriesExists
Playing step... CheckSubCategoriesExists
Playing step... CheckWorkflowExists
Playing step... CheckFirstActionExists
Playing step... CheckSecondActionExists
Playing step... CheckCatalogMethodExists
Playing step... CheckKeysAndTableExists
Playing step... CheckRoleExists
Playing step... CheckLocalRolesExists
Playing step... CheckPropertySheetExists
Playing step... UninstallBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckPortalTypeRemoved
Playing step... CheckModuleRemoved
Playing step... CheckSkinFolderRemoved
Playing step... CheckBaseCategoryRemoved
Playing step... CheckWorkflowRemoved
Playing step... CheckCatalogMethodRemoved
Playing step... CheckKeysAndTableRemoved
Playing step... CheckRoleRemoved
Playing step... CheckPropertySheetRemoved
Playing step... CheckSkinsLayers.
Test Upgrade Of Business Template Keeps Subobjects
Starting New Sequence 1...
Playing step... CreatePortalType
Playing step... CreateModuleAndObjects
Playing step... CreateBaseCategory
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddPortalTypeToBusinessTemplate
Playing step... FillPortalTypesFields
Playing step... AddModuleToBusinessTemplate
Playing step... AddBaseCategoryToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemoveModule
Playing step... RemoveBaseCategory
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplateE
Test Upgrade Business Template With All Items
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Check Update of Business Template Workflows is working
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Check Update of Tool is working
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Category includes subobjects
Starting New Sequence 1...
Playing step... CreateBaseCategory
Playing step... CreateCategories
Playing step... CreateSubCategories
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddBaseCategoryToBusinessTemplate
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckSubobjectsNotIncluded.
======================================================================
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 2373, in test_17_SubobjectsAfterUpgradOfBusinessTemplate
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1393, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
======================================================================
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 2494, in test_18_upgradeBusinessTemplateWithAllItems
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 264, in stepCreatePortalType
typeinfo_name='ERP5Type: ERP5 Person',)
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2581, in test_19_checkUpdateBusinessTemplateWorkflow
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 264, in stepCreatePortalType
typeinfo_name='ERP5Type: ERP5 Person',)
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_20_checkUpdateTool (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2679, in test_20_checkUpdateTool
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 264, in stepCreatePortalType
typeinfo_name='ERP5Type: ERP5 Person',)
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
----------------------------------------------------------------------
Ran 21 tests in 443.403s
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 (1.810s)
/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.037s)
Installing Photo ... done (0.075s)
Installing Formulator ... done (1.484s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.104s)
Installing ZSQLCatalog ... done (0.056s)
Installing ZMailIn ... done (0.031s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.019s)
Installing MailHost ... done (0.042s)
Installing PageTemplates ... done (0.019s)
Installing PythonScripts ... done (0.019s)
Installing ExternalMethod ... done (0.035s)
Installing iHotfix ... done (0.018s)
Installing Localizer ... done (0.022s)
Installing TimerService ... done (0.024s)
Installing CMFCore ... done (0.026s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.045s)
Installing CMFPhoto ... done (0.015s)
Installing BTreeFolder2 ... done (0.015s)
Installing CMFReportTool ... done (0.576s)
Installing CMFMailIn ... done (0.014s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.034s)
Installing PluggableAuthService ... done (0.018s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.065s)
Installing ERP5Catalog ... done (0.019s)
Installing ERP5Type ... done (0.038s)
Installing ERP5Form ... done (3.954s)
Installing ERP5SyncML ... done (0.116s)
Installing CMFCategory ... done (0.024s)
Installing ERP5 ... done (0.020s)
Installing ERP5OOo ... done (0.024s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c8b4d6047454e867221ea4876ba0d68f ERP5 Site ... done (55.572s)
Logout ...
done (71.855s)
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... BackupObjectsWithSaveE
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... BackupObjectsWithKeepingSubobjectsE
======================================================================
ERROR: test_03_checkBackupWithSave (testTrashTool.TestTrashTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testTrashTool.py", line 323, in test_03_checkBackupWithSave
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testTrashTool.py", line 227, in stepBackupObjectsWithSave
backup_subobjects_ids = trash.backupObject(trashbin, bc_path, bc_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
======================================================================
ERROR: test_04_checkBackupWithSubObjects (testTrashTool.TestTrashTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testTrashTool.py", line 344, in test_04_checkBackupWithSubObjects
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testTrashTool.py", line 264, in stepBackupObjectsWithKeepingSubobjects
backup_subobjects_ids = trash.backupObject(trashbin, bc_path, bc_id, save=1, keep_subobjects=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
----------------------------------------------------------------------
Ran 4 tests in 111.046s
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.514s)
/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.039s)
Installing Photo ... done (0.052s)
Installing Formulator ... done (1.823s)
Installing ZSQLMethods ... done (0.014s)
Installing ZMySQLDA ... done (0.077s)
Installing ZSQLCatalog ... done (0.056s)
Installing ZMailIn ... done (0.031s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.020s)
Installing MailHost ... done (0.042s)
Installing PageTemplates ... done (0.020s)
Installing PythonScripts ... done (0.020s)
Installing ExternalMethod ... done (0.022s)
Installing iHotfix ... done (0.011s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.014s)
Installing CMFCalendar ... done (0.053s)
Installing CMFPhoto ... done (0.026s)
Installing BTreeFolder2 ... done (0.024s)
Installing CMFReportTool ... done (0.688s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.055s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (4.743s)
Installing ERP5SyncML ... done (0.102s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.017s)
Installing ERP5OOo ... done (0.022s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c7320eb496224a747fda62ecf1eddd88 ERP5 Site ... done (65.570s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
........EEEE.E
======================================================================
ERROR: test_02_AqDynamic (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 103, in test_02_AqDynamic
person = module.newContent(id='1', portal_type='Person')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: test_03_NewTempObject (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 131, in test_03_NewTempObject
o.edit(tutu='toto')
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: tutu
======================================================================
ERROR: test_04_CategoryAccessors (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 141, in test_04_CategoryAccessors
region_category = self.getPortal().portal_categories.region
AttributeError: region
======================================================================
ERROR: test_04_setProperty (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 206, in test_04_setProperty
organisation = module.newContent(id='1', portal_type='Organisation')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: manage_afterClone can call a type based script.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 259, in test_afterCloneScript
pers = folder.newContent(portal_type='Person',
AttributeError: 'NoneType' object has no attribute 'newContent'
----------------------------------------------------------------------
Ran 14 tests in 122.624s
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.192s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.025s)
Installing Photo ... done (0.037s)
Installing Formulator ... done (1.097s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.051s)
Installing ZSQLCatalog ... done (0.032s)
Installing ZMailIn ... done (0.035s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.023s)
Installing MailHost ... done (0.038s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.019s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.023s)
Installing CMFCore ... done (0.025s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.012s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.016s)
Installing BTreeFolder2 ... done (0.016s)
Installing CMFReportTool ... done (0.466s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.014s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.018s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (3.133s)
Installing ERP5SyncML ... done (0.068s)
Installing CMFCategory ... done (0.016s)
Installing ERP5 ... done (0.028s)
Installing ERP5OOo ... done (0.022s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e ERP5 Site ... done (53.087s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEE
======================================================================
ERROR: test_01_RenameCellRange (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testXMLMatrix.py", line 83, in afterSetUp
module = portal.purchase_order_module
AttributeError: purchase_order_module
======================================================================
ERROR: test_02_SetCellRangeAndCatalogWithActivities (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testXMLMatrix.py", line 83, in afterSetUp
module = portal.purchase_order_module
AttributeError: purchase_order_module
======================================================================
ERROR: test_03_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testXMLMatrix.py", line 83, in afterSetUp
module = portal.purchase_order_module
AttributeError: purchase_order_module
----------------------------------------------------------------------
Ran 3 tests in 66.196s
FAILED (errors=3)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.158s)
/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.031s)
Installing Formulator ... done (1.588s)
Installing ZSQLMethods ... done (0.018s)
Installing ZMySQLDA ... done (0.075s)
Installing ZSQLCatalog ... done (0.033s)
Installing ZMailIn ... done (0.018s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.012s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.027s)
Installing iHotfix ... done (0.018s)
Installing Localizer ... done (0.021s)
Installing TimerService ... done (0.023s)
Installing CMFCore ... done (0.027s)
Installing CMFDefault ... done (0.022s)
Installing CMFTopic ... done (0.019s)
Installing DCWorkflow ... done (0.023s)
Installing CMFCalendar ... done (0.059s)
Installing CMFPhoto ... done (0.025s)
Installing BTreeFolder2 ... done (0.024s)
Installing CMFReportTool ... done (0.496s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.051s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.961s)
Installing ERP5SyncML ... done (0.063s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c ERP5 Site ... done (46.422s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEE
======================================================================
ERROR: test_01_Constraint (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_02_PropertyExistence (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_03_PropertyTypeValidity (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_04_AttributeEquality (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_05_CategoryExistence (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_06_CategoryMembershipArity (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_07_CategoryRelatedMembershipArity (testConstraint.TestConstraint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 81, in afterSetUp
self.createCategories()
File "/home/seb/zope/Products/ERP5Type/tests/testConstraint.py", line 92, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
----------------------------------------------------------------------
Ran 7 tests in 59.943s
FAILED (errors=7)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.239s)
/usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:16: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore import utils, CMFCorePermissions
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.033s)
Installing Formulator ... done (1.248s)
Installing ZSQLMethods ... done (0.013s)
Installing ZMySQLDA ... done (0.054s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.016s)
Installing MailHost ... done (0.028s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.023s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.017s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.036s)
Installing CMFPhoto ... done (0.017s)
Installing BTreeFolder2 ... done (0.019s)
Installing CMFReportTool ... done (0.532s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.019s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.053s)
Installing ERP5Catalog ... done (0.019s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (2.997s)
Installing ERP5SyncML ... done (0.061s)
Installing CMFCategory ... done (0.013s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4e6c82e480d59da035cd5dd757d7af09 ERP5 Site ... done (61.097s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_00_HasEverything (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_01_SingleCategory (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_02_MultipleCategory (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_03_CategoryValue (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_04_ReturnNone (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_05_SingleAcquisition (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_06_ListAcquisition (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_07_SubordinationValue (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_08_SubordinationMultipleValue (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_09_GetCategoryParentUidList (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_10_FallBackBaseCategory (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_11_ParentAcquisition (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_12_GetRelatedValueAndValueList (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_13_RenameCategory (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_13b_RenameCategoryUsingCutAndPaste (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: test_13c_RenameCategoryUsingCutAndPasteButNotCopy (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: Checks that categories support different value per portal_type,
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: Checks on sorting child categories
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: Checks on getting related values
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
======================================================================
ERROR: Tests Categories and Domain Selection
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 105, in afterSetUp
if self.id1 not in person_module.objectIds():
AttributeError: 'NoneType' object has no attribute 'objectIds'
----------------------------------------------------------------------
Ran 20 tests in 76.883s
FAILED (errors=20)
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.305s)
/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.025s)
Installing Photo ... done (0.049s)
Installing Formulator ... done (1.151s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.016s)
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.019s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.518s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.015s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.055s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.021s)
Installing ERP5Form ... done (2.908s)
Installing ERP5SyncML ... done (0.073s)
Installing CMFCategory ... done (0.026s)
Installing ERP5 ... done (0.020s)
Installing ERP5OOo ... done (0.025s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_87898169f8a6babfe15e14cbf4d59bab ERP5 Site ... done (61.039s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
Test Has Everything .
Test Everything CataloguedF
Test Create And Delete Objects E
Search Folder With Deleted Objects E
Search Folder With Immediate Reindex Object E
Search Folder With Recursive Immediate Reindex Object E
Clear Catalog And Test New Content E
Clear Catalog And Test Recursive Immediate Reindex Object E
Clear Catalog And Test Immediate Reindex Object E
Ordered Search Folder E
Cast String As Int With Order By E
Transactional Uid Buffer .
ERP5Site_reindexAll E
Reindexing an object with 1 broken category must not affect other valid categories E
getObject .
newUid .
getCreationDate, getModificationDate E.
Search Folder With Non Ascii Character E
Search Folder With Dynamic Related Key E
======================================================================
ERROR: test_03_CreateAndDeleteObject (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 133, in test_03_CreateAndDeleteObject
person = person_module.newContent(id='1',portal_type='Person')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
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 168, in test_04_SearchFolderWithDeletedObjects
folder_object_list = [x.getObject().getId() for x in person_module.searchFolder()]
AttributeError: 'NoneType' object has no attribute 'searchFolder'
======================================================================
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 189, in test_05_SearchFolderWithImmediateReindexObject
folder_object_list = [x.getObject().getId() for x in person_module.searchFolder()]
AttributeError: 'NoneType' object has no attribute 'searchFolder'
======================================================================
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 212, in test_06_SearchFolderWithRecursiveImmediateReindexObject
folder_object_list = [x.getObject().getId() for x in person_module.searchFolder()]
AttributeError: 'NoneType' object has no attribute 'searchFolder'
======================================================================
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 237, in test_07_ClearCatalogAndTestNewContent
person = person_module.newContent(id='4',portal_type='Person',immediate_reindex=1)
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
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 254, in test_08_ClearCatalogAndTestRecursiveImmediateReindexObject
person = person_module.newContent(id='4',portal_type='Person')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
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
person = person_module.newContent(id='4',portal_type='Person')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
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 290, in test_10_OrderedSearchFolder
person = person_module.newContent(id='a',portal_type='Person',title='a',description='z')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
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 316, in test_11_CastStringAsInt
person = person_module.newContent(id='a',portal_type='Person',title='1')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
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 367, in test_13_ERP5Site_reindexAll
module = portal.getDefaultModule('Organisation')
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Organisation
======================================================================
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 411, in test_14_ReindexWithBrokenCategory
group_nexedi_category = portal_category.group\
AttributeError: group
======================================================================
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 499, in test_17_CreationDate_ModificationDate
module = portal.getDefaultModule('Organisation')
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 724, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 714, in getDefaultModuleId
raise ValueError, 'Unable to find module for portal_type: %s' % \
ValueError: Unable to find module for portal_type: Organisation
======================================================================
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 653, in test_19_SearchFolderWithNonAsciiCharacter
person = person_module.newContent(id='5',portal_type='Person',title=title)
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
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 672, in test_20_SearchFolderWithDynamicRelatedKey
portal_category.group.manage_delObjects([x for x in
AttributeError: group
======================================================================
FAIL: 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 122, in test_02_EverythingCatalogued
self.assertEquals(len(organisation_module_list),1)
AssertionError: 0 != 1
----------------------------------------------------------------------
Ran 20 tests in 109.368s
FAILED (failures=1, 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.271s)
/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.187s)
Installing Photo ... done (0.219s)
Installing Formulator ... done (1.709s)
Installing ZSQLMethods ... done (0.030s)
Installing ZMySQLDA ... done (0.412s)
Installing ZSQLCatalog ... done (0.092s)
Installing ZMailIn ... done (0.065s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.033s)
Installing MailHost ... done (0.185s)
Installing PageTemplates ... done (0.053s)
Installing PythonScripts ... done (0.033s)
Installing ExternalMethod ... done (0.063s)
Installing iHotfix ... done (0.035s)
Installing Localizer ... done (0.110s)
Installing TimerService ... done (0.138s)
Installing CMFCore ... done (0.126s)
Installing CMFDefault ... done (0.079s)
Installing CMFTopic ... done (0.022s)
Installing DCWorkflow ... done (0.040s)
Installing CMFCalendar ... done (0.134s)
Installing CMFPhoto ... done (0.028s)
Installing BTreeFolder2 ... done (0.022s)
Installing CMFReportTool ... done (1.380s)
Installing CMFMailIn ... done (0.058s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.056s)
Installing PluggableAuthService ... done (0.135s)
Installing ERP5Security ... done (0.068s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.162s)
Installing ERP5Catalog ... done (0.060s)
Installing ERP5Type ... done (0.066s)
Installing ERP5Form ... done (4.612s)
Installing ERP5SyncML ... done (0.515s)
Installing CMFCategory ... done (0.080s)
Installing ERP5 ... done (0.059s)
Installing ERP5OOo ... done (0.208s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d89dcedc2a70af3a878932c35aff4822 ERP5 Site ... done (62.463s)
Logout ...
done (76.451s)
Ran Unit test of Portal Preference
Test enabling preferences.
Test methods on portal_preference.
Test getPreference.
Test setting preferences.
Test different users preferences are independants.
----------------------------------------------------------------------
Ran 5 tests in 97.571s
OK
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.287s)
/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.029s)
Installing Photo ... done (0.031s)
Installing Formulator ... done (1.230s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.048s)
Installing PageTemplates ... done (0.012s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.018s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.019s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.015s)
Installing DCWorkflow ... done (0.023s)
Installing CMFCalendar ... done (0.061s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.443s)
Installing CMFMailIn ... done (0.012s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.054s)
Installing ERP5Catalog ... done (0.017s)
Installing ERP5Type ... done (0.022s)
Installing ERP5Form ... done (3.887s)
Installing ERP5SyncML ... done (0.109s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.016s)
Installing ERP5OOo ... done (0.035s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_9e65457b8c720545f93801e29ef908ea ERP5 Site ... done (53.371s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
Test Has Everything .
Test Add a Publication .
Test Add First Subscription .
Test Add Second Subscription .
Test getSynchronizationList .
Test getObjectList E
Test Export and Import E
Test First Synchronization E
Test First Synchronization With Long Lines E
Test getObjectFromGid E
Test getSynchronizationState E
Test Update Simple Data E
Test Get Conflict List E
Test Get Publisher And Subscriber Document EEEEEEEEEE
Test Synchronize With Strange Gid EEEEE
Test Broken Message E
Test Get Synchronization Type EE
Test Add One Way Subscription .
Test One Way Sync E
======================================================================
ERROR: test_06_GetObjectList (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 268, in test_06_GetObjectList
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_07_ExportImport (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 296, in test_07_ExportImport
self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_08_FirstSynchronization (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_09_FirstSynchronizationWithLongLines (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 437, in test_09_FirstSynchronizationWithLongLines
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_10_GetObjectFromGid (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 467, in test_10_GetObjectFromGid
self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_11_GetSynchronizationState (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 482, in test_11_GetSynchronizationState
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_12_UpdateSimpleData (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 555, in test_12_UpdateSimpleData
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_13_GetConflictList (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 602, in test_13_GetConflictList
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_14_GetPublisherAndSubscriberDocument (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 630, in test_14_GetPublisherAndSubscriberDocument
self.test_13_GetConflictList(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 602, in test_13_GetConflictList
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_15_ApplyPublisherValue (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 648, in test_15_ApplyPublisherValue
self.test_13_GetConflictList(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 602, in test_13_GetConflictList
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_16_ApplySubscriberValue (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 671, in test_16_ApplySubscriberValue
self.test_13_GetConflictList(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 602, in test_13_GetConflictList
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_17_AddSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 732, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_18_UpdateSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 766, in test_18_UpdateSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 732, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_19_DeleteObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 794, in test_19_DeleteObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_20_DeleteSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 826, in test_20_DeleteSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 732, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_21_GetConflictListOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 852, in test_21_GetConflictListOnSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 732, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_22_ApplyPublisherDocumentOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 885, in test_22_ApplyPublisherDocumentOnSubObject
self.test_21_GetConflictListOnSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 852, in test_21_GetConflictListOnSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 732, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_23_ApplySubscriberDocumentOnSubObject (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 915, in test_23_ApplySubscriberDocumentOnSubObject
self.test_21_GetConflictListOnSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 852, in test_21_GetConflictListOnSubObject
self.test_17_AddSubObject(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 732, in test_17_AddSubObject
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_24_SynchronizeWithStrangeGid (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 951, in test_24_SynchronizeWithStrangeGid
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_25_MultiNodeConflict (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 992, in test_25_MultiNodeConflict
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_26_SynchronizeWorkflowHistory (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 1058, in test_26_SynchronizeWorkflowHistory
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_27_UpdateLocalRole (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 1084, in test_27_UpdateLocalRole
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_28_PartialData (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 1118, in test_28_PartialData
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_29_BrokenMessage (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 1162, in test_29_BrokenMessage
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_30_GetSynchronizationType (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 1189, in test_30_GetSynchronizationType
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_31_UpdateLocalPermission (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 1225, in test_31_UpdateLocalPermission
self.test_08_FirstSynchronization(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 390, in test_08_FirstSynchronization
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
======================================================================
ERROR: test_33_OneWaySync (testERP5SyncML.TestERP5SyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 1285, in test_33_OneWaySync
nb_person = self.populatePersonServer(quiet=1,run=1)
File "/home/seb/zope/unit_test/Products/ERP5SyncML/tests/testERP5SyncML.py", line 200, in populatePersonServer
id = 'person_server')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 928, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Person Module
----------------------------------------------------------------------
Ran 33 tests in 77.323s
FAILED (errors=27)
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.324s)
/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.249s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.054s)
Installing ZMailIn ... done (0.030s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.014s)
Installing MailHost ... done (0.025s)
Installing PageTemplates ... done (0.012s)
Installing PythonScripts ... done (0.013s)
Installing ExternalMethod ... done (0.022s)
Installing iHotfix ... done (0.010s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.020s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.039s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... done (0.489s)
Installing CMFMailIn ... done (0.011s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.024s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... done (0.072s)
Installing ERP5Catalog ... done (0.029s)
Installing ERP5Type ... done (0.037s)
Installing ERP5Form ... done (3.135s)
Installing ERP5SyncML ... done (0.073s)
Installing CMFCategory ... done (0.014s)
Installing ERP5 ... done (0.017s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 ERP5 Site ... done (44.413s)
Adding erp5_base business template ... Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 389, in setupERP5Site
portal.portal_templates[id].install(light_install=light_install)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 3949, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3883, 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 1104, in install
ObjectTemplateItem.install(self, context, trashbin, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 558, in install
subobjects_dict = self._backupObject(action, trashbin, container_path, object_id)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 519, in _backupObject
subobjects_dict = self.portal_trash.backupObject(trashbin, container_path, object_id, save=1)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 69, in backupObject
backup_object_container.edit(isHidden=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 115, 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 1026, in edit
reindex_object=reindex_object, **kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 982, in _edit
old_value = self.getProperty(key)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 807, in getProperty
return getattr(self,key)
AttributeError: isHidden
EEEEEE
======================================================================
ERROR: Test basic category membership
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 70, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 87, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Test empty and always false predicates.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 70, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 87, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Test Predicate implements Predicate interface.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 70, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 87, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Test simple predicates fusion.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 70, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 87, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Test predicates fusion and test_method_id attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 70, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 87, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
======================================================================
ERROR: Test test_method_id attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 234, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 70, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testPredicate.py", line 87, in createCategories
path = self.getPortal().portal_categories[base_cat]
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'region'
----------------------------------------------------------------------
Ran 6 tests in 67.166s
FAILED (errors=6)
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.465s)
Traceback (most recent call last):
File "/home/seb/zope/Products/ERP5Type/tests/runUnitTest.py", line 137, in ?
result = runUnitTestList(test_list=test_list)
File "/home/seb/zope/Products/ERP5Type/tests/runUnitTest.py", line 121, in runUnitTestList
m = __import__(test_module)
ImportError: No module named testERP5Security
More information about the Erp5-report
mailing list