[Erp5-report] ERP5 r19198: 1222 Tests, 5 Errors, 7 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Feb 9 19:35:05 CET 2008
Test Suite: ERP5
Revision: 19198
Result: FAIL
All tests: 1222
Failures: 7
Errors: 5
The following tests failed:
testXHTML (1 failures)
test_deadProxyFields (testXHTML.TestXHTML)
testCRM (2 failures)
test_recipient (testCRM.TestCRMMailIngestion)
test_sender (testCRM.TestCRMMailIngestion)
testERP5Web (1 failures, 1 errors)
test_04_WebPageTranslation (testERP5Web.TestERP5Web)
test_05_WebPageVersioning (testERP5Web.TestERP5Web)
testNotificationTool (2 errors)
test_01_defaultBehaviour (testNotificationTool.TestNotificationTool)
test_04_noRecipient (testNotificationTool.TestNotificationTool)
testIngestion (1 failures)
test_11_EmailIngestion (testIngestion.TestIngestion)
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)
-------------- next part --------------
FAIL: test_deadProxyFields (testXHTML.TestXHTML)
----------------------------------------------------------------------
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/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
FAIL: test_recipient (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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/testCRM.py", line 143, in test_recipient
self.assertEquals('person_module/me', event.getDestination())
AssertionError: 'person_module/me' != None
FAIL: test_sender (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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/testCRM.py", line 136, in test_sender
self.assertEquals('person_module/sender', event.getSource())
AssertionError: 'person_module/sender' != None
ERROR: 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 265, in test_04_WebPageTranslation
self.assertEquals(language, default_document.getLanguage())
AttributeError: 'NoneType' object has no attribute 'getLanguage'
FAIL: test_05_WebPageVersioning (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 306, in test_05_WebPageVersioning
self.assertEquals('archived', en_01.getValidationState())
AssertionError: 'archived' != 'published'
ERROR: test_01_defaultBehaviour (testNotificationTool.TestNotificationTool)
----------------------------------------------------------------------
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/testNotificationTool.py", line 176, in test_01_defaultBehaviour
self.portal.portal_notifications.sendMessage,
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 203, in sendMessage
email_value = person.getDefaultEmailValue()
AttributeError: 'NoneType' object has no attribute 'getDefaultEmailValue'
ERROR: test_04_noRecipient (testNotificationTool.TestNotificationTool)
----------------------------------------------------------------------
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/testNotificationTool.py", line 242, in test_04_noRecipient
self.portal.portal_notifications.sendMessage(
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5/Tool/NotificationTool.py", line 203, in sendMessage
email_value = person.getDefaultEmailValue()
AttributeError: 'NoneType' object has no attribute 'getDefaultEmailValue'
FAIL: test_11_EmailIngestion (testIngestion.TestIngestion)
----------------------------------------------------------------------
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/testIngestion.py", line 1266, in test_11_EmailIngestion
self.playSequence(step_list, quiet)
File "/mnt/erp5_cd/buildbot_slave/slave/full.bot_livecd/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 982, in playSequence
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 166, 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:
CleanUp
ReceiveEmailFromUnknown
CreatePerson
ReceiveEmailFromJohn
> VerifyEmailedDocuments
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/ERP5OOo/tests/testIngestion.py", line 964, in stepVerifyEmailedDocuments
self.assertEqual(len(result), 1)
AssertionError: 0 != 1
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 334, in test_05_UniqueReference
raise NotImplementedError
NotImplementedError
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 638, 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 431, 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 528, in failIfDifferentSet
self.failUnless(i in a, 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>] != [<OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/22>, <OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/21>, <OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/24>, <OOoDocument at /erp5_portal_1996848722294825f766fa1aaf161d57/document_module/23>]
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 2264, in test_complex_query
self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3
More information about the Erp5-report
mailing list