[Erp5-report] ERP5 Unit Test
seb at nexedi.com
seb at nexedi.com
Thu Mar 30 07:42:48 CEST 2006
Date : 2006-03-30
Ran 64 tests in 37.633s
FAILED (errors=64)
Ran 11 tests in 16.541s
FAILED (errors=10)
Ran 14 tests in 18.682s
FAILED (errors=14)
Ran 13 tests in 15.906s
FAILED (errors=13)
Ran 2 tests in 16.823s
FAILED (errors=2)
Ran 10 tests in 17.754s
FAILED (errors=10)
Ran 10 tests in 17.496s
FAILED (errors=10)
Ran 21 tests in 16.822s
FAILED (errors=21)
Ran 1 test in 16.775s
FAILED (errors=1)
Ran 5 tests in 16.962s
FAILED (errors=5)
Ran 8 tests in 18.197s
FAILED (errors=8)
Ran 15 tests in 18.429s
FAILED (errors=15)
Ran 11 tests in 17.540s
FAILED (errors=11)
Ran 1 test in 16.707s
FAILED (errors=1)
Ran 3 tests in 17.141s
FAILED (errors=3)
Ran 2 tests in 16.890s
FAILED (errors=2)
Ran 3 tests in 16.115s
FAILED (errors=3)
Ran 3 tests in 15.915s
FAILED (errors=3)
Ran 5 tests in 16.559s
FAILED (errors=5)
Ran 20 tests in 18.605s
FAILED (failures=1, errors=19)
Ran 4 tests in 16.484s
FAILED (errors=4)
Ran 12 tests in 16.331s
FAILED (failures=2, errors=3)
Ran 3 tests in 17.952s
FAILED (errors=3)
Ran 7 tests in 17.161s
FAILED (errors=7)
Ran 18 tests in 17.960s
FAILED (errors=18)
Ran 19 tests in 17.644s
FAILED (failures=3, errors=14)
Ran 5 tests in 16.971s
FAILED (errors=5)
Ran 33 tests in 17.877s
FAILED (errors=27)
Ran 6 tests in 17.912s
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 (10.167s)
/home/seb/zope/unit_test/Products/ERP5Type/patches/Localizer.py:24: DeprecationWarning: Non-ASCII character '\xe9' in file /home/seb/zope/unit_test/Products/ERP5Type/Message.py on line 4, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
from Products.ERP5Type.Message import Message
Installing ExtFile ... done (0.117s)
Installing Photo ... done (0.280s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.459s)
Installing ZSQLMethods ... done (0.036s)
Installing ZMySQLDA ... done (0.845s)
Installing ZSQLCatalog ... done (0.228s)
Installing ZMailIn ... done (0.362s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.058s)
Installing MailHost ... done (0.293s)
Installing PageTemplates ... done (0.144s)
Installing PythonScripts ... done (0.136s)
Installing ExternalMethod ... done (0.235s)
Installing Localizer ... done (0.111s)
Installing TimerService ... done (0.127s)
Installing CMFCore ... done (0.117s)
Installing CMFDefault ... done (0.262s)
Installing CMFTopic ... done (0.122s)
Installing DCWorkflow ... done (0.243s)
Installing CMFCalendar ... done (0.154s)
Installing CMFPhoto ... done (0.191s)
Installing BTreeFolder2 ... done (0.165s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (1.674s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.199s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.194s)
Installing PluggableAuthService ... done (0.766s)
Installing ERP5Security ... done (0.164s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.517s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.191s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.082s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (6.286s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.848s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.199s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.128s)
Installing ERP5OOo ... done (0.488s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d79e40a8e398d7f0f13e86b89ec1491e ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 221, in setUp
PortalTestCase.setUp(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 111, 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 64 tests in 37.633s
FAILED (errors=64)
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.283s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.147s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
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.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.559s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.028s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.040s)
Installing PluggableAuthService ... done (0.030s)
Installing ERP5Security ... done (0.023s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.067s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.023s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (3.004s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_7e756eb972f79d46577096e1f775b137 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
Test Has Everything .
Test Initialization E
Test Every Hour E
Test Every 3 Hours E
Test Some Hours E
Every Day Once E
Every 3 Days Some Hours E
Some Week Days Some Hours E
Some Month Days Some Hours E
Once Every 2 Month E
Every Day Once Week 41 And 43 E
======================================================================
ERROR: test_02_Initialization (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAlarm.py", line 134, in test_02_Initialization
alarm.setPeriodicityStartDate(date)
AttributeError: setPeriodicityStartDate
======================================================================
ERROR: test_03_EveryHour (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAlarm.py", line 148, in test_03_EveryHour
alarm.setPeriodicityStartDate(date)
AttributeError: setPeriodicityStartDate
======================================================================
ERROR: test_04_Every3Hours (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAlarm.py", line 174, in test_04_Every3Hours
alarm.setPeriodicityStartDate(date)
AttributeError: setPeriodicityStartDate
======================================================================
ERROR: test_05_SomeHours (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAlarm.py", line 203, in test_05_SomeHours
alarm.setPeriodicityStartDate(now)
AttributeError: setPeriodicityStartDate
======================================================================
ERROR: test_06_EveryDayOnce (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAlarm.py", line 225, in test_06_EveryDayOnce
alarm.setPeriodicityStartDate(now)
AttributeError: setPeriodicityStartDate
======================================================================
ERROR: - every 3 days at 14 and 15 and 17
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAlarm.py", line 247, in test_07_Every3DaysSomeHours
alarm.setPeriodicityStartDate(right_first_date)
AttributeError: setPeriodicityStartDate
======================================================================
ERROR: - every monday and friday, at 6 and 15
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAlarm.py", line 271, in test_08_SomeWeekDaysSomeHours
alarm.setPeriodicityStartDate(right_first_date)
AttributeError: setPeriodicityStartDate
======================================================================
ERROR: - every 1st and 15th every month, at 12 and 14
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAlarm.py", line 307, in test_09_SomeMonthDaysSomeHours
alarm.setPeriodicityStartDate(right_first_date)
AttributeError: setPeriodicityStartDate
======================================================================
ERROR: - every 1st day of every 2 month, at 6
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAlarm.py", line 324, in test_10_OnceEvery2Month
alarm.setPeriodicityStartDate(right_first_date)
AttributeError: setPeriodicityStartDate
======================================================================
ERROR: test_11_EveryDayOnceWeek41And42 (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAlarm.py", line 342, in test_11_EveryDayOnceWeek41And42
alarm.setPeriodicityStartDate(right_first_date)
AttributeError: setPeriodicityStartDate
----------------------------------------------------------------------
Ran 11 tests in 16.541s
FAILED (errors=10)
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)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.090s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing 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.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.427s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
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 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.053s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.880s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_dcfea2620c5518173c2447c6c5320b6b ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 141, in createCategories
id = base_cat)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
----------------------------------------------------------------------
Ran 14 tests in 18.682s
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.202s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.097s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
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.013s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.484s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.023s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.025s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.053s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.920s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.062s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5ca3fdddd3c2a134ec5626b1af8ef8dd ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
Starting New Sequence 1...
Playing step... CreateCurrenciesE
Starting New Sequence 1...
Playing step... CreateCurrenciesE
Starting New Sequence 1...
Playing step... CreateCurrenciesE
Starting New Sequence 1...
Playing step... CreateCurrenciesE
Starting New Sequence 1...
Playing step... CreateEntitiesE
Starting New Sequence 1...
Playing step... CreateEntitiesE
Starting New Sequence 1...
Playing step... CreateEntitiesE
Starting New Sequence 1...
Playing step... CreateEntitiesE
Starting New Sequence 1...
Playing step... CreateEntitiesE
Starting New Sequence 1...
Playing step... CreateEntitiesE
Starting New Sequence 1...
Playing step... CreateCurrenciesE
Starting New Sequence 1...
Playing step... CreateEntitiesE
Starting New Sequence 1...
Playing step... CreateCurrenciesE
======================================================================
ERROR: Basic test for Accounting Periods
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1003, in test_AccountingPeriod
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 215, in stepCreateCurrencies
EUR = self.getCurrencyModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Accounting Periods refuse to close when some transactions are
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1049, in test_AccountingPeriodNotStoppedTransactions
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 215, in stepCreateCurrencies
EUR = self.getCurrencyModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Accounting Periods does not change other section transactions.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1067, in test_AccountingPeriodOtherSections
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 215, in stepCreateCurrencies
EUR = self.getCurrencyModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Accounting Periods prevents transactions to be validated
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1030, in test_AccountingPeriodRefusesWrongDateTransactionValidation
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 215, in stepCreateCurrencies
EUR = self.getCurrencyModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Transaction validation and accounts
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1142, in test_AccountingTransactionValidationAccounts
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 133, in stepCreateEntities
client = self.getOrganisationModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Transaction validation and balance
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1155, in test_AccountingTransactionValidationBalanced
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 133, in stepCreateEntities
client = self.getOrganisationModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Transaction validation and currency
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1131, in test_AccountingTransactionValidationCurrency
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 133, in stepCreateEntities
client = self.getOrganisationModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Transaction validation and dates
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1107, in test_AccountingTransactionValidationDate
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 133, in stepCreateEntities
client = self.getOrganisationModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Transaction validation and payment
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1166, in test_AccountingTransactionValidationPayment
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 133, in stepCreateEntities
client = self.getOrganisationModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Transaction validation and section
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1120, in test_AccountingTransactionValidationSection
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 133, in stepCreateEntities
client = self.getOrganisationModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Tests acquisition, categories and portal types are well
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1098, in test_Acquisition
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 215, in stepCreateCurrencies
EUR = self.getCurrencyModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Tests using an account on one sides uses the mirror account
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 1088, in test_MirrorAccounts
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 133, in stepCreateEntities
client = self.getOrganisationModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: Basic test for multi currency accounting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 989, in test_MultiCurrencyInvoice
self.playSequence("""
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 68, in playSequence
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testAccounting.py", line 215, in stepCreateCurrencies
EUR = self.getCurrencyModule().newContent(
AttributeError: 'NoneType' object has no attribute 'newContent'
----------------------------------------------------------------------
Ran 13 tests in 15.906s
FAILED (errors=13)
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.105s)
Installing ExtFile ... done (0.023s)
Installing Photo ... done (0.025s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.111s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
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.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.505s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.018s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.054s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.847s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.076s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.015s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.029s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_3e4a0d2d45ee766e3fa783f39820361c ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
EE
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 79, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInvoice.py", line 79, in createCategories
TestPackingListMixin.createCategories(self)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
----------------------------------------------------------------------
Ran 2 tests in 16.823s
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.143s)
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.025s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.321s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.049s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.014s)
Installing ExternalMethod ... done (0.022s)
Installing Localizer ... done (0.018s)
Installing TimerService ... done (0.020s)
Installing CMFCore ... done (0.022s)
Installing CMFDefault ... done (0.017s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.470s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
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 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.053s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.959s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.063s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_11168acb17e5ee22093b7f163496420e ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
EEEEEEEEEE
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 103, in afterSetUp
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 103, in afterSetUp
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 103, in afterSetUp
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 103, in afterSetUp
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 103, in afterSetUp
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 103, in afterSetUp
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 103, in afterSetUp
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 103, in afterSetUp
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 103, in afterSetUp
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 103, in afterSetUp
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
----------------------------------------------------------------------
Ran 10 tests in 17.754s
FAILED (errors=10)
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.270s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.025s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.138s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.017s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.019s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.036s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.426s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
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 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.063s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.025s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.031s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (3.006s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.019s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_001dd05237c00aae9b7eb1e3328a07e4 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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
======================================================================
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 136, in test_01
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 90, 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 155, in test_02
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 90, 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 175, in test_03
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 90, 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 194, in test_04
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 90, 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 214, in test_05
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 90, 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 236, in test_06
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 90, 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 258, in test_07
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 90, 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 283, in test_08
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 90, 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 316, in test_09
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 90, 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 349, in test_10
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testInteractionWorkflow.py", line 90, 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 10 tests in 17.496s
FAILED (errors=10)
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.185s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.258s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.032s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.017s)
Installing CMFDefault ... done (0.014s)
Installing CMFTopic ... done (0.012s)
Installing DCWorkflow ... done (0.014s)
Installing CMFCalendar ... done (0.039s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.437s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.019s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.053s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.032s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.943s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_97ad677fdc3692c02e03838b9465053d ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 221, in setUp
PortalTestCase.setUp(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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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 16.822s
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.139s)
Installing ExtFile ... done (0.030s)
Installing Photo ... done (0.030s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.125s)
Installing ZSQLMethods ... done (0.015s)
Installing ZMySQLDA ... done (0.067s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.026s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.012s)
Installing MailHost ... done (0.026s)
Installing PageTemplates ... done (0.012s)
Installing PythonScripts ... done (0.019s)
Installing ExternalMethod ... done (0.031s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.015s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.464s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.017s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.052s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.794s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.069s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.020s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.024s)
Installing ERP5OOo ... done (0.022s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_2c2ef0955a7689e4c2be023abee65aed ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
E
======================================================================
ERROR: test_01_ERP5BankingCashTransfer (testERP5BankingCashTransfer.TestERP5BankingCashTransfer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(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/testERP5BankingCashTransfer.py", line 199, in afterSetUp
self.function_base_category = getattr(self.category_tool, 'function')
AttributeError: function
----------------------------------------------------------------------
Ran 1 test in 16.775s
FAILED (errors=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.159s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.025s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.299s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.031s)
Installing ZMailIn ... done (0.018s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.023s)
Installing MailHost ... done (0.035s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.038s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.434s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.023s)
Installing PluggableAuthService ... done (0.025s)
Installing ERP5Security ... done (0.023s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.057s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.021s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.970s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e409e02fd9d3331c5822785a4fd66452 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 303, in test_01_SearchPredidateListWithNoTest
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 114, 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 310, in test_02_SearchPredidateListWithTest
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 114, 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 317, in test_03_GenerateMappedValue
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 114, 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 336, in test_04_GenerateMappedValueWithRanges
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 114, 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 366, in test_05_GenerateMappedValueWithVariation
self.createData()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testDomainTool.py", line 114, 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 16.962s
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.160s)
Installing ExtFile ... done (0.029s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.321s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.049s)
Installing ZSQLCatalog ... done (0.032s)
Installing ZMailIn ... done (0.019s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.012s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.030s)
Installing Localizer ... done (0.021s)
Installing TimerService ... done (0.021s)
Installing CMFCore ... done (0.023s)
Installing CMFDefault ... done (0.023s)
Installing CMFTopic ... done (0.020s)
Installing DCWorkflow ... done (0.021s)
Installing CMFCalendar ... done (0.045s)
Installing CMFPhoto ... done (0.015s)
Installing BTreeFolder2 ... done (0.017s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.482s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
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 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.054s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.021s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.838s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.063s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_42d1d6e8c7fe702347c2c2bf203a9946 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 221, in setUp
PortalTestCase.setUp(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 106, in afterSetUp
portal_categories.newContent(portal_type='Base Category',id=bc)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 106, in afterSetUp
portal_categories.newContent(portal_type='Base Category',id=bc)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 106, in afterSetUp
portal_categories.newContent(portal_type='Base Category',id=bc)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 106, in afterSetUp
portal_categories.newContent(portal_type='Base Category',id=bc)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 106, in afterSetUp
portal_categories.newContent(portal_type='Base Category',id=bc)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 106, in afterSetUp
portal_categories.newContent(portal_type='Base Category',id=bc)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 106, in afterSetUp
portal_categories.newContent(portal_type='Base Category',id=bc)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 106, in afterSetUp
portal_categories.newContent(portal_type='Base Category',id=bc)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
----------------------------------------------------------------------
Ran 8 tests in 18.197s
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.251s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.248s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
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.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.442s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.052s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.016s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.025s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.996s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.022s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_f56e40505f8cecd1db294fdab2822698 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
----------------------------------------------------------------------
Ran 15 tests in 18.429s
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.209s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.199s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.049s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.030s)
Installing PageTemplates ... done (0.016s)
Installing PythonScripts ... done (0.016s)
Installing ExternalMethod ... done (0.027s)
Installing Localizer ... done (0.016s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.451s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.072s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.025s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.024s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.938s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.065s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_e549dcf540388768207010303f288957 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
EEEEEEEEEEE
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
----------------------------------------------------------------------
Ran 11 tests in 17.540s
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.179s)
Installing ExtFile ... done (0.022s)
Installing Photo ... done (0.025s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.063s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.046s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.015s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.015s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.455s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
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 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.053s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.021s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.801s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.067s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.022s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_86b8ee6402cecf4144291d0b9356cceb ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
----------------------------------------------------------------------
Ran 1 test in 16.707s
FAILED (errors=1)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.139s)
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.044s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.215s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.048s)
Installing ZSQLCatalog ... done (0.030s)
Installing ZMailIn ... done (0.018s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.013s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.035s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.540s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.017s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.055s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.023s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.818s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.062s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.020s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.023s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_445eec84cfafcd54035971a79b90526e ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 221, in setUp
PortalTestCase.setUp(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 97, 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 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, 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 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, 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 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
----------------------------------------------------------------------
Ran 3 tests in 17.141s
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.141s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.025s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.115s)
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.027s)
Installing PageTemplates ... done (0.011s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.022s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.020s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.038s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.014s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.451s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.052s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.016s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.681s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.017s)
Installing ERP5OOo ... done (0.023s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5846b7bac90512eb2ad0a52e1dc8e28c ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 221, in setUp
PortalTestCase.setUp(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 100, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 100, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
----------------------------------------------------------------------
Ran 2 tests in 16.890s
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.154s)
Installing ExtFile ... done (0.030s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.100s)
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.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.014s)
Installing TimerService ... done (0.017s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.014s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.470s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.025s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.036s)
Installing PluggableAuthService ... done (0.030s)
Installing ERP5Security ... done (0.023s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.054s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.021s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.890s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.028s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_532a9c13a4fc7140fcc8a50fa0600727 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
EEE
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 97, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testOrder.py", line 105, in createCategories
if len(self.category_tool.size.contentValues()) == 0 :
AttributeError: size
----------------------------------------------------------------------
Ran 3 tests in 16.115s
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.254s)
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.138s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.011s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.011s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.442s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.025s)
Installing PluggableAuthService ... done (0.018s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.053s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.021s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.909s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_f80541c5aaf4c3f119b407441b57c512 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
EEE
======================================================================
ERROR: test_01_Organisation (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(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/testERP5HR.py", line 87, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 244, in createCategories
, immediate_reindex = 1
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
ERROR: test_02_Person (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(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/testERP5HR.py", line 87, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 244, in createCategories
, immediate_reindex = 1
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
ERROR: test_03_Subordination (testERP5HR.TestHR)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(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/testERP5HR.py", line 87, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testERP5HR.py", line 244, in createCategories
, immediate_reindex = 1
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
----------------------------------------------------------------------
Ran 3 tests in 15.915s
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.244s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.134s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.018s)
Installing MailHost ... done (0.043s)
Installing PageTemplates ... done (0.014s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.013s)
Installing CMFCalendar ... done (0.034s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.456s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.024s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.032s)
Installing PluggableAuthService ... done (0.024s)
Installing ERP5Security ... done (0.020s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.056s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.832s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.062s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_727747cf82e06a68e4b85b45326f6050 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
EEEEE
======================================================================
ERROR: test_01_areActivitiesWellLaunchedByPropertyEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 99, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 107, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_02_areActivitiesWellLaunchedByCategoryEdit (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 99, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 107, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_03_areActivitiesWellLaunchedByPropertySetter (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 99, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 107, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_04_areActivitiesWellLaunchedByCategorySetter (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 99, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 107, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
======================================================================
ERROR: test_05_getPropertyWithoutPropertySheet (testBase.TestBase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 99, in afterSetUp
self.createCategories()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBase.py", line 107, in createCategories
if len(self.category_tool.group.contentValues()) == 0 :
AttributeError: group
----------------------------------------------------------------------
Ran 5 tests in 16.559s
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.158s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.215s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.049s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.028s)
Installing CMFDefault ... done (0.020s)
Installing CMFTopic ... done (0.015s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.050s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.012s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.465s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.058s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.776s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_5052d51039b979b3e050891c12342c2c ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
Test Check New Site
Starting New Sequence 1...
Playing step... UseCoreBusinessTemplate
Playing step... CheckTools
Playing step... CheckBuiltBuildingState
Playing step... CheckInstalledInstallationStateF
Test Business Template With Portal Types
Starting New Sequence 1...
Playing step... CreatePortalType/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py:262: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py:267: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Module', typeinfo_name='ERP5Type: ERP5 Folder')
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddPortalTypeToBusinessTemplate
Playing step... FillPortalTypesFields
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemovePortalType
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplateE
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... InstallBusinessTemplateE
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... InstallBusinessTemplateE
Test Business Template With Module
Starting New Sequence 1...
Playing step... CreatePortalType
Playing step... CreateModuleAndObjectsE
Test Business Template With Base Category
Starting New Sequence 1...
Playing step... CreateBaseCategoryE
Test Business Template With One Action
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Business Template With Two Actions
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Business Template With A Simple Path
Starting New Sequence 1...
Playing step... CreateBaseCategoryE
Test Business Template With Path And Joker *
Starting New Sequence 1...
Playing step... CreateBaseCategoryE
Test Business Template With Path And Joker **
Starting New Sequence 1...
Playing step... CreateBaseCategoryE
Test Business Template With Catalog Method, Related Key, Result Key And Table
Starting New Sequence 1...
Playing step... CreateCatalogMethodE
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... InstallBusinessTemplateE
Test Business Template With Local Roles
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Business Template With Property Sheet
Starting New Sequence 1...
Playing step... CreatePropertySheet
Playing step... CreateNewBusinessTemplate
Playing step... UseExportBusinessTemplate
Playing step... AddPropertySheetToBusinessTemplate
Playing step... CheckModifiedBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... BuildBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... CheckObjectPropertiesInBusinessTemplate
Playing step... SaveBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... RemovePropertySheet
Playing step... RemoveBusinessTemplate
Playing step... RemoveAllTrashBins
Playing step... ImportBusinessTemplate
Playing step... UseImportBusinessTemplate
Playing step... CheckBuiltBuildingState
Playing step... CheckNotInstalledInstallationState
Playing step... InstallBusinessTemplateE
Test Business Template With All Items
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Upgrade Of Business Template Keeps Subobjects
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Upgrade Business Template With All Items
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Check Update of Business Template Workflows is working
Starting New Sequence 1...
Playing step... CreatePortalTypeE
Test Check Update of Tool is working
Starting New Sequence 1...
Playing step... CreatePortalTypeE
======================================================================
ERROR: test_02_BusinessTemplateWithPortalTypes (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1551, in test_02_BusinessTemplateWithPortalTypes
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1360, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3787, in _install
trashbin = trash_tool.newTrashBin(self.getTitle(), self)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 157, in newTrashBin
trashbin = self.newContent(portal_type='Trash Bin', id=new_trash_id, title=bt_title, start_date=start_date, causality_value=bt)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Trash Bin
======================================================================
ERROR: test_03_BusinessTemplateWithSkins (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1595, in test_03_BusinessTemplateWithSkins
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1360, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3787, in _install
trashbin = trash_tool.newTrashBin(self.getTitle(), self)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 157, in newTrashBin
trashbin = self.newContent(portal_type='Trash Bin', id=new_trash_id, title=bt_title, start_date=start_date, causality_value=bt)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Trash Bin
======================================================================
ERROR: test_04_BusinessTemplateWithWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1639, in test_04_BusinessTemplateWithWorkflow
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1360, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3787, in _install
trashbin = trash_tool.newTrashBin(self.getTitle(), self)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 157, in newTrashBin
trashbin = self.newContent(portal_type='Trash Bin', id=new_trash_id, title=bt_title, start_date=start_date, causality_value=bt)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Trash Bin
======================================================================
ERROR: test_05_BusinessTemplateWithModule (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1690, in test_05_BusinessTemplateWithModule
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 348, in stepCreateModuleAndObjects
object = module.newContent(portal_type = 'Geek Object')
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 78, in newContent
default=default, method=method))
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 130, in generateNewId
id_group = self.getIdGroup()
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 475, in _aq_dynamic
createPreferenceMethods(self.getPortalObject())
File "/home/seb/zope/unit_test/Products/ERP5Form/PreferenceTool.py", line 53, in createPreferenceMethods
'portal_types')['Preference']
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 670, in __getitem__
raise KeyError, key
KeyError: 'Preference'
======================================================================
ERROR: test_06_BusinessTemplateWithBaseCategory (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1734, in test_06_BusinessTemplateWithBaseCategory
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 496, in stepCreateBaseCategory
base_category = pc.newContent(portal_type = 'Base Category')
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
ERROR: test_07_BusinessTemplateWithOneAction (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1781, in test_07_BusinessTemplateWithOneAction
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 262, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_08_BusinessTemplateWithTwoActions (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1831, in test_08_BusinessTemplateWithTwoActions
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 262, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_09_BusinessTemplateWithPath (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1875, in test_09_BusinessTemplateWithPath
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 496, in stepCreateBaseCategory
base_category = pc.newContent(portal_type = 'Base Category')
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
ERROR: test_10_BusinessTemplateWithPathAndJoker1 (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1921, in test_10_BusinessTemplateWithPathAndJoker1
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 496, in stepCreateBaseCategory
base_category = pc.newContent(portal_type = 'Base Category')
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
ERROR: test_11_BusinessTemplateWithPathAndJoker2 (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1969, in test_11_BusinessTemplateWithPathAndJoker2
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 496, in stepCreateBaseCategory
base_category = pc.newContent(portal_type = 'Base Category')
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
ERROR: test_12_BusinessTemplateWithCatalogMethod (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2017, in test_12_BusinessTemplateWithCatalogMethod
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 835, in stepCreateCatalogMethod
catalog.filter_dict[method_id] = PersistentMapping()
AttributeError: filter_dict
======================================================================
ERROR: test_13_BusinessTemplateWithRole (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2060, in test_13_BusinessTemplateWithRole
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1360, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3787, in _install
trashbin = trash_tool.newTrashBin(self.getTitle(), self)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 157, in newTrashBin
trashbin = self.newContent(portal_type='Trash Bin', id=new_trash_id, title=bt_title, start_date=start_date, causality_value=bt)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Trash Bin
======================================================================
ERROR: test_14_BusinessTemplateWithLocalRoles (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2107, in test_14_BusinessTemplateWithLocalRoles
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 262, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_15_BusinessTemplateWithPropertySheet (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2150, in test_15_BusinessTemplateWithPropertySheet
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1360, in stepInstallBusinessTemplate
import_bt.install(force=1)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3787, in _install
trashbin = trash_tool.newTrashBin(self.getTitle(), self)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 157, in newTrashBin
trashbin = self.newContent(portal_type='Trash Bin', id=new_trash_id, title=bt_title, start_date=start_date, causality_value=bt)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Trash Bin
======================================================================
ERROR: test_16_BusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2248, in test_16_BusinessTemplateWithAllItems
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 262, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_17_SubobjectsAfterUpgradOfBusinessTemplate (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2327, 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 262, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_18_upgradeBusinessTemplateWithAllItems (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2448, 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 262, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_19_checkUpdateBusinessTemplateWorkflow (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2535, 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 262, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
ERROR: test_20_checkUpdateTool (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 2633, 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 262, in stepCreatePortalType
pt.manage_addTypeInformation(ERP5TypeInformation.meta_type, id='Geek Object', typeinfo_name='ERP5Type: ERP5 Person')
File "/usr/lib/zope/lib/python/Products/CMFCore/TypesTool.py", line 818, in manage_addTypeInformation
self._setObject(id, ob)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 248, in _setObject
v=self._checkId(id)
File "/usr/lib/zope/lib/python/OFS/ObjectManager.py", line 81, in checkValidId
raise BadRequest, (
BadRequest: The id "Geek Object" is invalid - it is already in use.
======================================================================
FAIL: test_01_checkNewSite (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 1506, in test_01_checkNewSite
sequence_list.play(self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 120, in play
sequence.play(context,sequence_number=i)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 70, in play
step.play(context,sequence=self)
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/Sequence.py", line 57, in play
method(sequence=sequence)
File "/home/seb/zope/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 161, in stepCheckInstalledInstallationState
self.assertEquals(bt.getInstallationState(), 'installed')
AssertionError: 'not_installed' != 'installed'
----------------------------------------------------------------------
Ran 20 tests in 18.605s
FAILED (failures=1, errors=19)
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.121s)
Installing ExtFile ... done (0.028s)
Installing Photo ... done (0.025s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.242s)
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.011s)
Installing MailHost ... done (0.024s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.032s)
Installing CMFPhoto ... done (0.013s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.481s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
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 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.053s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.803s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.060s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c8b4d6047454e867221ea4876ba0d68f ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
Test Check TrashBin Creation
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBinE
Test Check Backup Without Save
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBinE
Test Check Backup With Save
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBinE
Test Check Backup Without Subobjects
Starting New Sequence 1...
Playing step... CheckTrashToolExists
Playing step... CreateTrashBinE
======================================================================
ERROR: test_01_checkTrashBinCreation (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 282, in test_01_checkTrashBinCreation
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 123, in stepCreateTrashBin
trashbin = trash.newTrashBin(bt_title='fake_bin', bt=bt)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 157, in newTrashBin
trashbin = self.newContent(portal_type='Trash Bin', id=new_trash_id, title=bt_title, start_date=start_date, causality_value=bt)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Trash Bin
======================================================================
ERROR: test_02_checkBackupWithoutSave (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 302, in test_02_checkBackupWithoutSave
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 123, in stepCreateTrashBin
trashbin = trash.newTrashBin(bt_title='fake_bin', bt=bt)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 157, in newTrashBin
trashbin = self.newContent(portal_type='Trash Bin', id=new_trash_id, title=bt_title, start_date=start_date, causality_value=bt)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Trash Bin
======================================================================
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 123, in stepCreateTrashBin
trashbin = trash.newTrashBin(bt_title='fake_bin', bt=bt)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 157, in newTrashBin
trashbin = self.newContent(portal_type='Trash Bin', id=new_trash_id, title=bt_title, start_date=start_date, causality_value=bt)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Trash Bin
======================================================================
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 123, in stepCreateTrashBin
trashbin = trash.newTrashBin(bt_title='fake_bin', bt=bt)
File "/home/seb/zope/unit_test/Products/ERP5/Tool/TrashTool.py", line 157, in newTrashBin
trashbin = self.newContent(portal_type='Trash Bin', id=new_trash_id, title=bt_title, start_date=start_date, causality_value=bt)
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Trash Bin
----------------------------------------------------------------------
Ran 4 tests in 16.484s
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.124s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.139s)
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.023s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.011s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.016s)
Installing DCWorkflow ... done (0.021s)
Installing CMFCalendar ... done (0.039s)
Installing CMFPhoto ... done (0.015s)
Installing BTreeFolder2 ... done (0.016s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.434s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
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 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.053s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.021s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.697s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_c7320eb496224a747fda62ecf1eddd88 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
..FF....E.EE
======================================================================
ERROR: test_02_AqDynamic (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 103, in test_02_AqDynamic
person = module.newContent(id='1', portal_type='Person')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
ERROR: test_04_CategoryAccessors (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 131, in test_04_CategoryAccessors
region_category = self.getPortal().portal_categories.region
AttributeError: region
======================================================================
ERROR: test_04_setProperty (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 196, in test_04_setProperty
organisation = module.newContent(id='1', portal_type='Organisation')
AttributeError: 'NoneType' object has no attribute 'newContent'
======================================================================
FAIL: testCommonHasImageType (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
testMethod()
File "/home/seb/zope/Products/ERP5Type/tests/testERP5Type.py", line 70, in testCommonHasImageType
self.failUnless(getattr(self.getTypeTool(), 'Image', None) != None)
AssertionError
======================================================================
FAIL: testCommonHasParentBaseCategory (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 66, in testCommonHasParentBaseCategory
self.failUnless(getattr(self.getCategoryTool(), 'parent', None) != None)
AssertionError
----------------------------------------------------------------------
Ran 12 tests in 16.331s
FAILED (failures=2, 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.263s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.069s)
Installing ZSQLMethods ... done (0.013s)
Installing ZMySQLDA ... done (0.081s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.032s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.501s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.025s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.028s)
Installing PluggableAuthService ... done (0.033s)
Installing ERP5Security ... done (0.023s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.102s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.032s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.038s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.845s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_27661e9717edf957b357f01fd11acfb6 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 221, in 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 74, 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 221, in 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 74, 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 221, in 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 74, in afterSetUp
module = portal.purchase_order_module
AttributeError: purchase_order_module
----------------------------------------------------------------------
Ran 3 tests in 17.952s
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.301s)
Installing ExtFile ... done (0.024s)
Installing Photo ... done (0.028s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.043s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.062s)
Installing ZSQLCatalog ... done (0.046s)
Installing ZMailIn ... done (0.029s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.018s)
Installing MailHost ... done (0.030s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.018s)
Installing DCWorkflow ... done (0.021s)
Installing CMFCalendar ... done (0.046s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.462s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.017s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.038s)
Installing PluggableAuthService ... done (0.030s)
Installing ERP5Security ... done (0.023s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.061s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.017s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.928s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.023s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4e42fb58a498fa35ce1e360bdd2f560c ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 221, in 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 221, in 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 221, in 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 221, in 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 221, in 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 221, in 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 221, in 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 17.161s
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.197s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.025s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.097s)
Installing ZSQLMethods ... done (0.010s)
Installing ZMySQLDA ... done (0.047s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.017s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.023s)
Installing PageTemplates ... done (0.013s)
Installing PythonScripts ... done (0.015s)
Installing ExternalMethod ... done (0.025s)
Installing Localizer ... done (0.017s)
Installing TimerService ... done (0.020s)
Installing CMFCore ... done (0.016s)
Installing CMFDefault ... done (0.013s)
Installing CMFTopic ... done (0.014s)
Installing DCWorkflow ... done (0.014s)
Installing CMFCalendar ... done (0.045s)
Installing CMFPhoto ... done (0.027s)
Installing BTreeFolder2 ... done (0.027s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.497s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.023s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.060s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.018s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.023s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.989s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.099s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.017s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.022s)
Installing ERP5OOo ... done (0.024s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_4e6c82e480d59da035cd5dd757d7af09 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
EEEEEEEEEEEEEEEEEE
======================================================================
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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 18 tests in 17.960s
FAILED (errors=18)
SOFTWARE_HOME: /usr/lib/zope/lib/python
INSTANCE_HOME: /home/seb/zope/unit_test
Loading Zope, please stand by ./usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
DeprecationWarning)
.. done (1.168s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.310s)
Installing ZSQLMethods ... done (0.018s)
Installing ZMySQLDA ... done (0.068s)
Installing ZSQLCatalog ... done (0.028s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.014s)
Installing CMFCore ... done (0.014s)
Installing CMFDefault ... done (0.012s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.032s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.453s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.022s)
Installing PluggableAuthService ... done (0.017s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.058s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.020s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.025s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.758s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.013s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.042s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_87898169f8a6babfe15e14cbf4d59bab ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 F
ERP5Site_reindexAll E
Reindexing an object with 1 broken category must not affect other valid categories E
getObject E
newUid F
getCreationDate, getModificationDate E.
Search Folder With Non Ascii Character 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 235, in test_07_ClearCatalogAndTestNewContent
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 252, in test_08_ClearCatalogAndTestRecursiveImmediateReindexObject
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 270, in test_09_ClearCatalogAndTestImmediateReindexObject
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 288, in test_10_OrderedSearchFolder
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 314, in test_11_CastStringAsInt
portal_catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 505, in manage_catalogClear
catalog.manage_catalogClear(REQUEST=REQUEST, RESPONSE=RESPONSE, URL1=URL1)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
======================================================================
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 366, in test_13_ERP5Site_reindexAll
title="GreatTitle1")
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Base Category
======================================================================
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_15_getObject (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 472, in test_15_getObject
self.assertRaises(ValueError, portal_catalog.getObject, "StringUID")
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 706, in getobject
path = self.getpath(uid, sql_catalog_id=sql_catalog_id)
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 684, in getpath
object = catalog[uid]
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 635, in __getitem__
method = getattr(self, self.sql_getitem_by_uid)
AttributeError: z_getitem_by_uid
======================================================================
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 705, in getDefaultModule
return getattr(self, self.getDefaultModuleId(portal_type), None)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 695, 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'
======================================================================
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
======================================================================
FAIL: test_12_TransactionalUidBuffer (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 347, in test_12_TransactionalUidBuffer
self.failUnless(hasattr(catalog, '_v_uid_buffer'))
AssertionError
======================================================================
FAIL: test_16_newUid (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 486, in test_16_newUid
self.failIf(uid in uid_dict)
AssertionError
----------------------------------------------------------------------
Ran 19 tests in 17.644s
FAILED (failures=3, 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.154s)
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.025s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.144s)
Installing ZSQLMethods ... done (0.011s)
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 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.013s)
Installing CMFCalendar ... done (0.033s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.431s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.031s)
Installing ERP5Security ... done (0.024s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.089s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.020s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.021s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.986s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.061s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.016s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_d89dcedc2a70af3a878932c35aff4822 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
EEEEE
======================================================================
ERROR: tests preference workflow
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 61, in afterSetUp
self.createPreferences()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 70, in createPreferences
person1 = portal_preferences.newContent(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Preference
======================================================================
ERROR: checks that preference methods can be called directly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 61, in afterSetUp
self.createPreferences()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 70, in createPreferences
person1 = portal_preferences.newContent(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Preference
======================================================================
ERROR: checks that getPreference returns the good preferred value
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 61, in afterSetUp
self.createPreferences()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 70, in createPreferences
person1 = portal_preferences.newContent(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Preference
======================================================================
ERROR: check setting a preference modifies
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 61, in afterSetUp
self.createPreferences()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 70, in createPreferences
person1 = portal_preferences.newContent(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Preference
======================================================================
ERROR: check that the preferences are related to the user.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 68, in __call__
self.setUp()
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 221, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 51, in setUp
self.afterSetUp()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 61, in afterSetUp
self.createPreferences()
File "/home/seb/zope/unit_test/Products/ERP5Form/tests/testPreferences.py", line 70, in createPreferences
person1 = portal_preferences.newContent(
File "/home/seb/zope/unit_test/Products/ERP5Type/Document/Folder.py", line 90, in newContent
is_indexable=is_indexable
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: Preference
----------------------------------------------------------------------
Ran 5 tests in 16.971s
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.157s)
Installing ExtFile ... done (0.019s)
Installing Photo ... done (0.024s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.123s)
Installing ZSQLMethods ... done (0.013s)
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.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.017s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.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.032s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.424s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.022s)
Installing ERP5Security ... done (0.024s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.069s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.016s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.741s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.063s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.018s)
Installing ERP5OOo ... done (0.031s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_9e65457b8c720545f93801e29ef908ea ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 17.877s
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.163s)
Installing ExtFile ... done (0.020s)
Installing Photo ... done (0.025s)
Installing Formulator ... /usr/lib/zope/lib/python/Products/Formulator/FSForm.py:8: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead.
from Products.CMFCore.CMFCorePermissions import View
done (1.140s)
Installing ZSQLMethods ... done (0.011s)
Installing ZMySQLDA ... done (0.049s)
Installing ZSQLCatalog ... done (0.029s)
Installing ZMailIn ... done (0.016s)
Installing ZGDChart ... NOT FOUND
Installing ZCTextIndex ... done (0.010s)
Installing MailHost ... done (0.022s)
Installing PageTemplates ... done (0.010s)
Installing PythonScripts ... done (0.010s)
Installing ExternalMethod ... done (0.018s)
Installing Localizer ... done (0.012s)
Installing TimerService ... done (0.013s)
Installing CMFCore ... done (0.015s)
Installing CMFDefault ... done (0.011s)
Installing CMFTopic ... done (0.010s)
Installing DCWorkflow ... done (0.012s)
Installing CMFCalendar ... done (0.032s)
Installing CMFPhoto ... done (0.014s)
Installing BTreeFolder2 ... done (0.013s)
Installing CMFReportTool ... /usr/lib/zope/lib/python/Products/CMFReportTool/__init__.py:50: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFReportTool
, icon='tool.gif'
done (0.439s)
Installing CMFMailIn ... /usr/lib/zope/lib/python/Products/CMFMailIn/__init__.py:37: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFMailIn
product_name='CMFMailIn', icon='tool.gif',
done (0.016s)
Installing TranslationService ... NOT FOUND
Installing NuxUserGroups ... done (0.021s)
Installing PluggableAuthService ... done (0.016s)
Installing ERP5Security ... done (0.013s)
Installing VerboseSecurity ... NOT FOUND
Installing CMFActivity ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFActivity
icon='tool.png',
done (0.052s)
Installing ERP5Catalog ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Catalog
icon='tool.png',
done (0.016s)
Installing ERP5Type ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Type
icon='tool.png',
done (0.022s)
Installing ERP5Form ... /usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py:71: DeprecationWarning: WorkflowMethod() alias WorkflowAction() is deprecated and will be removed in CMF 1.6.
DeprecationWarning)
/home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5Form
icon='tool.png',
done (2.724s)
Installing ERP5SyncML ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5SyncML
icon='tool.png',
done (0.062s)
Installing CMFCategory ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFCategory
icon='tool.png',
done (0.014s)
Installing ERP5 ... /home/seb/zope/unit_test/Products/ERP5Type/Utils.py:834: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ERP5
icon='tool.png',
done (0.015s)
Installing ERP5OOo ... done (0.021s)
Adding ERP5TypeTestCase user ...
Adding erp5_portal_442f4e8b5f26839a3aba9bdf7deee977 ERP5 Site ...
Traceback (most recent call last):
File "/home/seb/zope/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 349, in setupERP5Site
reindex=reindex,create_activities=create_activities)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 70, in manage_addERP5Site
reindex=reindex)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 763, in create
self.setup(p, create_userfolder,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1083, in setup
self.setupERP5Core(p,**kw)
File "/home/seb/zope/unit_test/Products/ERP5/ERP5Site.py", line 1118, in setupERP5Core
template_tool[id].install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/Base.py", line 112, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowCore.py", line 94, in __call__
(instance,) + args, kw)
File "/home/seb/zope/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 63, in WorkflowTool_wrapWorkflowMethod
(ob, method_id, func, args, kw), {})
File "/usr/lib/zope/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
res = func(*args, **kw)
File "/usr/lib/zope/lib/python/Products/DCWorkflow/DCWorkflow.py", line 324, in wrapWorkflowMethod
res = func(*args, **kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3839, in install
return self._install(**kw)
File "/home/seb/zope/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3782, in _install
catalog.manage_catalogClear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 904, in manage_catalogClear
self.clear()
File "/home/seb/zope/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 596, in clear
method = getattr(self, method_name)
AttributeError: z_drop_catalog
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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 221, in setUp
PortalTestCase.setUp(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 17.912s
FAILED (errors=6)
More information about the Erp5-report
mailing list