[Erp5-report] ERP5 r18314: 1365 Tests, 2 Errors, 4 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Dec 14 03:46:33 CET 2007


Test Suite: ERP5
Revision: 18314
Result: FAIL

All tests: 1365
Failures: 4
Errors: 2


The following tests failed:

  testDomainTool                                     (2 failures)
   test_01_SearchPredidateListWithNoTest (testDomainTool.TestDomainTool)
   test_02_SearchPredidateListWithTest (testDomainTool.TestDomainTool)

  testERP5Web                                        (1 failures)
   test_04_WebPageTranslation (testERP5Web.TestERP5Web)

  testSQLCachedWorklist                              (1 failures)
   test_01_worklist (testSQLCachedWorklist.TestSQLCachedWorklist)

  testPlanningBox                                    (1 errors)
   test_01 (testPlanningBox.TestPlanningBox)

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

FAIL: 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 "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 291, in test_01_SearchPredidateListWithNoTest
    self.checkPredicate(test=0)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 155, in checkPredicate
    self.assertEquals(len(predicate_list),1) # Actually, a predicate where
AssertionError: 5 != 1



FAIL: 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 "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 298, in test_02_SearchPredidateListWithTest
    self.checkPredicate(test=1)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/tests/testDomainTool.py", line 155, in checkPredicate
    self.assertEquals(len(predicate_list),1) # Actually, a predicate where
AssertionError: 5 != 1



FAIL: test_04_WebPageTranslation (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
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/testERP5Web.py", line 254, in test_04_WebPageTranslation
    self.assertEquals(1, len(websection.WebSection_getDocumentValueList()))
AssertionError: 1 != 4



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 193, in test_01_worklist
    self.assertEquals(
AssertionError: 2 != 1



ERROR: test_01 (testPlanningBox.TestPlanningBox)
----------------------------------------------------------------------
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/testPlanningBox.py", line 162, in test_01
    sequence_list.play(self, quiet=quiet)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 163, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateObjects
      Tic
      CreateObjectLines
      Tic
      RenderStructure
      CheckPlanning
    > CheckBasic
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5Form/tests/testPlanningBox.py", line 130, in stepCheckBasic
    self.assertEquals(len(basic.report_groups), 1)
AttributeError: BasicStructure instance has no attribute 'report_groups'



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',), {}



More information about the Erp5-report mailing list