[Erp5-report] ERP5 r19323: 1224 Tests, 2 Errors, 3 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 15 17:57:22 CET 2008
Test Suite: ERP5
Revision: 19323
Result: FAIL
All tests: 1224
Failures: 3
Errors: 2
The following tests failed:
testDms (2 failures, 1 errors)
test_05_UniqueReference (testDms.TestDocument)
test_08_EmbeddedDocumentState (testDms.TestDocument)
test_07_testImplicitRelations (testDms.TestDocument)
testERP5Catalog (1 failures)
test_complex_query (testERP5Catalog.TestERP5Catalog)
testZSQLCatalog (1 failures)
testQuotedString (testZSQLCatalog.TestQuery)
-------------- next part --------------
ERROR: test_05_UniqueReference (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 339, in test_05_UniqueReference
document2.setUniqueReference()
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/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'
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 644, 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_07_testImplicitRelations (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 437, in test_07_testImplicitRelations
document1.getImplicitPredecessorValueList())
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/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 0x44fe092c>
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