[Erp5-report] ERP5 r19337: 1224 Tests, 1 Errors, 2 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Feb 16 01:32:44 CET 2008


Test Suite: ERP5
Revision: 19337
Result: FAIL

All tests: 1224
Failures: 2
Errors: 1


The following tests failed:

  testDms                                            (1 errors)
   test_08_EmbeddedDocumentState (testDms.TestDocument)

  testERP5Catalog                                    (1 failures)
   test_complex_query (testERP5Catalog.TestERP5Catalog)

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

ERROR: test_08_EmbeddedDocumentState (testDms.TestDocument)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 648, in test_08_EmbeddedDocumentState
    document.convert(format='html')
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 398, in convert
    mime, data = self._convert(format)
  File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 327, in _convert
    return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'



FAIL: test_complex_query (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 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 "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/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