[Erp5-report] ERP5_z212 r34665 : 3455 Tests, 5 Errors, 7 Failures, 19 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 20 21:58:20 CEST 2010
Test Suite: ERP5_z212
Revision: 34665
Result: FAIL
All tests: 3455
Failures: 7
Errors: 5
Skips: 19
The following tests failed:
testERP5Catalog (1 errors, 3 skips)
test_getitem (testERP5Catalog.TestERP5Catalog)
testERP5Type (1 errors)
test_renameObjectsReindexSubobjects (testERP5Type.TestERP5Type), Test that renaming an object with subobjects causes them to be
testFields (1 errors)
test_render_big_numbers (testFields.TestFloatField)
testKMGadget (1 failures)
test_09SubsectionGadget (testKMGadget.TestGadgets), Check Subsection Gadgets
testListBox (1 errors)
testCellKeywordInProxifiedListboxColumn (testListBox.TestListBox)
testOpenOrder (1 failures)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testPreferences (1 errors)
test_boolean_accessor (testPreferences.TestPreferences)
testProxyField (1 failures)
testSkinSelectionTemplateField (testProxyField.TestProxyField)
testSerializeForm (1 failures)
test checking if the field values are of the proper type.
testTemplate (3 failures)
test_DeliveryTemplateNotIndexable (testTemplate.TestTemplate)
test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
The following tests were at least partly skipped:
testBase (3 skips)
test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
testERP5Catalog (3 skips)
test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
testFormPrintoutAsODT (1 skips)
test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'
testMRP (4 skips)
test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
testSQLCachedWorklist (1 skips)
test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
testSelectionTool (7 skips)
skipped 'Test to be written'
testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
skipped 'Test to be written'
testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
-------------- next part --------------
ERROR: test_getitem (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Catalog/tests/testERP5Catalog.py", line 571, in test_getitem
portal_catalog.getSQLCatalog()[obj.getUid()].getObject())
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 775, in __getitem__
v=self._getOb(key, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 305, in _getOb
if id[:1] != '_' and hasattr(aq_base(self), id):
TypeError: 'long' object is unsubscriptable
ERROR: test_renameObjectsReindexSubobjects (testERP5Type.TestERP5Type), Test that renaming an object with subobjects causes them to be
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/testERP5Type.py", line 2356, in test_renameObjectsReindexSubobjects
subdocument_catalogged_path = self.getPortalObject().portal_catalog.getSQLCatalog()[subdocument.uid].path
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 775, in __getitem__
v=self._getOb(key, None)
File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/OFS/ObjectManager.py", line 305, in _getOb
if id[:1] != '_' and hasattr(aq_base(self), id):
TypeError: 'long' object is unsubscriptable
ERROR: test_render_big_numbers (testFields.TestFloatField)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/tests/testFields.py", line 156, in test_render_big_numbers
self.field.render(10000000000000000000))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Field.py", line 269, in render
editable=editable,
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Field.py", line 205, in _render_helper
render_prefix=render_prefix)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Widget.py", line 1733, in render_view
value = self.format_value(field, value)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/Widget.py", line 1698, in format_value
if i < len(value_list[1]):
IndexError: list index out of range
FAIL: test_09SubsectionGadget (testKMGadget.TestGadgets), Check Subsection Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/business_templates/erp5_km/TestTemplateItem/testKMGadget.py", line 618, in test_09SubsectionGadget
, self.auth).getBody())
AssertionError
ERROR: testCellKeywordInProxifiedListboxColumn (testListBox.TestListBox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/tests/testListBox.py", line 327, in testCellKeywordInProxifiedListboxColumn
REQUEST = request)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ProxyField.py", line 742, in get_value
return proxy_field.get_value(id, **kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 2775, in get_value
render_prefix=kw.get('render_prefix'))
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 448, in render
return renderer()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 1949, in __call__
return self.render(**kw)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 2531, in render
for (original_value, processed_value), (sql, title) in zip(line.getValueList(), self.getSelectedColumnList()):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ListBox.py", line 2122, in getValueList
tales = get_tales('default')
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/ProxyField.py", line 556, in get_recursive_tales
raise AttributeError('The proxy field %r cannot find a template field' % self)
AttributeError: The proxy field <ProxyField at /erp5_portal_27fd033bf95fdc3939b1d537bd566a59/Foo_viewListBoxProxyField/listbox_constant_string_field> cannot find a template field
FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testOpenOrder.py", line 194, in testPeriodicityDateList
(D(2008,11,1,0,1), DateTime(2008,11,30)),
AssertionError: [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+1'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+1'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+1'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+1'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+1'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+1'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+1'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+2'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+2'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+2'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+2'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+2'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+2'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+2'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))]
ERROR: test_boolean_accessor (testPreferences.TestPreferences)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/tests/testPreferences.py", line 517, in test_boolean_accessor
'type': 'boolean',},)''')
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 686, in _addPropertySheet
class_tool.newPropertySheet(property_sheet_name)
AttributeError: newPropertySheet
FAIL: testSkinSelectionTemplateField (testProxyField.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Form/tests/testProxyField.py", line 199, in testSkinSelectionTemplateField
self.assertEquals('Customized Title', field.get_value('title'))
AssertionError: 'Customized Title' != 'Generic Title'
FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}
FAIL: test_DeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 337, in test_DeliveryTemplateNotIndexable
self._testTemplateNotIndexable(document)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 327, in _testTemplateNotIndexable
self.assertEqual(len(preference.objectIds()), 2)
AssertionError: 1 != 2
FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
self._testTemplateNotIndexable(document)
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 315, in _testTemplateNotIndexable
self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1
FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
testMethod()
File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 279, in test_manyTemplatesWithoutReindexation
self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2
More information about the Erp5-report
mailing list