[Erp5-report] ERP5 r18526: 1376 Tests, 1 Errors, 2 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 27 01:04:20 CET 2007


Test Suite: ERP5
Revision: 18526
Result: FAIL

All tests: 1376
Failures: 2
Errors: 1


The following tests failed:

  testSQLCachedWorklist                              (1 failures)
   test_01_worklist (testSQLCachedWorklist.TestSQLCachedWorklist)

  testERP5Catalog                                    (1 failures, 1 errors)
   test_53_DateFormat (testERP5Catalog.TestERP5Catalog)
   test_60_OwnerIndexing (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 583, 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 2527, 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 2508, 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 2417, in buildSQLQuery
    stat__=stat__)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 445, 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',), {}



FAIL: test_60_OwnerIndexing (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 1902, in test_60_OwnerIndexing
    self.assertSameSet([None], [x.owner for x in result])
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 511, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: [None] != ['']



More information about the Erp5-report mailing list