[Erp5-report] ERP5 r18747: 1159 Tests, 3 Errors, 2 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 17 00:04:08 CET 2008


Test Suite: ERP5
Revision: 18747
Result: FAIL

All tests: 1159
Failures: 2
Errors: 3


The following tests failed:

  testAlarm                                          (1 errors)
   test_16_uncatalog (testAlarm.TestAlarm)

  testERP5Type                                       (1 failures)
   test_18_SimpleContentAccessorWithGeneratedAccessor (testERP5Type.TestERP5Type)

  testSelectionTool                                  (1 errors)
   testSortOrder (testSelectionTool.TestSelectionTool)

  testListBox                                        (1 failures)
   test_ProxyFieldRenderFormatLines (testListBox.TestListBox)

  testERP5Catalog                                    (1 errors)
   test_53_DateFormat (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------

ERROR: test_16_uncatalog (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testAlarm.py", line 466, in test_16_uncatalog
    self.tic()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 498, in tic
    raise RuntimeError,\
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_7e756eb972f79d46577096e1f775b137/portal_alarms/14', 'Alarm_testSenseMethod', -2, 6)]



FAIL: test_18_SimpleContentAccessorWithGeneratedAccessor (testERP5Type.TestERP5Type)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/Products/ERP5Type/tests/testERP5Type.py", line 1066, in test_18_SimpleContentAccessorWithGeneratedAccessor
    self.assertEquals(1, len([m for m in
AssertionError: 1 != 0



ERROR: testSortOrder (testSelectionTool.TestSelectionTool)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/tests/testSelectionTool.py", line 163, in testSortOrder
    'title')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/SelectionTool.py", line 431, in setSelectionQuickSortOrder
    listbox_id, sort_on = REQUEST.form["setSelectionQuickSortOrder"].split(".", 1)
AttributeError: 'str' object has no attribute 'form'



FAIL: test_ProxyFieldRenderFormatLines (testListBox.TestListBox)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/tests/testListBox.py", line 369, in test_ProxyFieldRenderFormatLines
    title_line.getColumnItemList())
AssertionError: [('proxy_value', 'Proxy')] != [('listbox_value', 'Title')]



ERROR: test_53_DateFormat (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/Testing/ZopeTestCase/profiler.py", line 80, in __call__
    testMethod()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1774, in test_53_DateFormat
    [x.path for x in self.getCatalogTool()(
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 588, in searchResults
    return ZCatalog.searchResults(self, query=query, sql_catalog_id=catalog_id, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1054, in searchResults
    return apply(catalog.searchResults, (REQUEST,used), kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2536, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, used=used, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2517, in queryResults
    query = build_sql_query_method(REQUEST=REQUEST, **kw)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2426, in buildSQLQuery
    stat__=stat__)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 446, in asSQLExpression
    value = DateTime(value).toZone('UTC')
  File "/usr/lib/zope/./build/build-base/python-2.4/build-lib/DateTime/DateTime.py", line 513, in __init__
SyntaxError: Unable to parse ('2006',), {}



More information about the Erp5-report mailing list