[Erp5-report] ERP5_z28 r19151: 1455 Tests, 5 Errors, 2 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 8 12:37:11 CET 2008


Test Suite: ERP5_z28
Revision: 19151
Result: FAIL

All tests: 1455
Failures: 2
Errors: 5


The following tests failed:

  testXHTML                                          (1 failures)
   test_deadProxyFields (testXHTML.TestXHTML)

  testResource                                       (2 errors)
   test_09_getPrice (testResource.TestResource)
   test_10_getPriceWithOptions (testResource.TestResource)

  testDms                                            (2 errors)
   test_05_UniqueReference (testDms.TestDocument)
   test_07_testImplicitRelations (testDms.TestDocument)

  testERP5Catalog                                    (1 failures, 1 errors)
   test_53_DateFormat (testERP5Catalog.TestERP5Catalog)
   test_complex_query (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------

FAIL: test_deadProxyFields (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 129, in test_deadProxyFields
    '%s\nform_id:%s\nfield_id:%s\n' % (field_path,
AssertionError: erp5_payroll/PayrollService_view/my_description
form_id:BasePdm_FieldLibrary
field_id:my_description




ERROR: test_09_getPrice (testResource.TestResource)
----------------------------------------------------------------------
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/testResource.py", line 555, in test_09_getPrice
    supply_line = product.newContent(
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 402, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 138, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Supply Line



ERROR: test_10_getPriceWithOptions (testResource.TestResource)
----------------------------------------------------------------------
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/testResource.py", line 587, in test_10_getPriceWithOptions
    supply_line = product.newContent(
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 402, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 138, in newContent
    raise ValueError('Disallowed subobject type: %s' % portal_type)
ValueError: Disallowed subobject type: Supply Line



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 334, in test_05_UniqueReference
    raise NotImplementedError
NotImplementedError



ERROR: 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 382, in test_07_testImplicitRelations
    raise NotImplementedError
NotImplementedError



ERROR: test_53_DateFormat (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 1819, in test_53_DateFormat
    [x.path for x in self.getCatalogTool()(
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 590, in searchResults
    return ZCatalog.searchResults(self, query=query, sql_catalog_id=catalog_id, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1054, in searchResults
    return apply(catalog.searchResults, (REQUEST,used), kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2531, in searchResults
    return self.queryResults(method, REQUEST=REQUEST, used=used, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2512, in queryResults
    query = build_sql_query_method(REQUEST=REQUEST, **kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2421, in buildSQLQuery
    stat__=stat__)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 447, in asSQLExpression
    value = DateTime(value).toZone('UTC')
  File "/usr/lib/erp5/lib/python/DateTime/DateTime.py", line 513, in __init__
    raise SyntaxError('Unable to parse %s, %s' % (args, kw))
SyntaxError: Unable to parse ('2006',), {}



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 2197, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



More information about the Erp5-report mailing list