[Erp5-report] ERP5_z28 r19321: 1469 Tests, 4 Errors, 3 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 15 07:50:14 CET 2008


Test Suite: ERP5_z28
Revision: 19321
Result: FAIL

All tests: 1469
Failures: 3
Errors: 4


The following tests failed:

  testXHTML                                          (3 errors)
   testApparel ComponentResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
   testApparel FabricResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
   testApparel ModelResource_viewDefaultSupplyLine (testXHTML.TestXHTML)

  testDms                                            (1 failures, 1 errors)
   test_05_UniqueReference (testDms.TestDocument)
   test_07_testImplicitRelations (testDms.TestDocument)

  testERP5Catalog                                    (1 failures)
   test_complex_query (testERP5Catalog.TestERP5Catalog)

  testZSQLCatalog                                    (1 failures)
   testQuotedString (testZSQLCatalog.TestQuery)
-------------- next part --------------

ERROR: testApparel ComponentResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 156, in testMethod
    view = getattr(content, view_name)
AttributeError: Resource_viewDefaultSupplyLine



ERROR: testApparel FabricResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 156, in testMethod
    view = getattr(content, view_name)
AttributeError: Resource_viewDefaultSupplyLine



ERROR: testApparel ModelResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 156, in testMethod
    view = getattr(content, view_name)
AttributeError: Resource_viewDefaultSupplyLine



ERROR: test_05_UniqueReference (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 339, in test_05_UniqueReference
    document2.setUniqueReference()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Document.py", line 751, in setUniqueReference
    reference = self.getReference() + '-%s-' % suffix + '%s'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'



FAIL: test_07_testImplicitRelations (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 437, in test_07_testImplicitRelations
    document1.getImplicitPredecessorValueList())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 525, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: [<OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/21>, <OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/23>, <OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/24>] != <Shared.DC.ZRDB.Results.Results instance at 0x42cb816c>



FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2175, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



FAIL: testQuotedString (testZSQLCatalog.TestQuery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/tests/testZSQLCatalog.py", line 116, in testQuotedString
    q.asSQLExpression(keyword_search_keys=[], full_text_search_keys=[]))
AssertionError: {'select_expression_list': [], 'where_expression': "title = 'Foo d''Bar'"} != {'where_expression': "((((title = 'Foo d'Bar'))))", 'select_expression_list': []}



More information about the Erp5-report mailing list