[Erp5-report] ERP5 r18646: 1136 Tests, 1 Errors, 1 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 10 05:58:10 CET 2008


Test Suite: ERP5
Revision: 18646
Result: FAIL

All tests: 1136
Failures: 1
Errors: 1


The following tests failed:

  testSQLCachedWorklist                              (1 failures)
   test_01_worklist (testSQLCachedWorklist.TestSQLCachedWorklist)

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

FAIL: test_01_worklist (testSQLCachedWorklist.TestSQLCachedWorklist)
----------------------------------------------------------------------
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/testWorklist.py", line 220, in test_01_worklist
    self.clearCache()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testSQLCachedWorklist.py", line 42, in clearCache
    self.portal.portal_workflow.refreshWorklistCache()
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 586, in WorkflowTool_refreshWorklistCache
    assert criterion_id in table_column_id_set
AssertionError



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