[Erp5-report] ERP5_z28 r19166: 1471 Tests, 10 Errors, 7 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 8 19:31:09 CET 2008


Test Suite: ERP5_z28
Revision: 19166
Result: FAIL

All tests: 1471
Failures: 7
Errors: 10


The following tests failed:

  testXHTML                                          (3 failures, 1 errors)
   testApparel ComponentResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
   testApparel FabricResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
   testApparel ModelResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
   test_deadProxyFields (testXHTML.TestXHTML)

  testCRM                                            (2 failures)
   test_recipient (testCRM.TestCRMMailIngestion)
   test_sender (testCRM.TestCRMMailIngestion)

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

  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_07_testImplicitRelations (testDms.TestDocument)
   test_08_EmbeddedDocumentState (testDms.TestDocument)

  testERP5Catalog                                    (1 failures)
   test_complex_query (testERP5Catalog.TestERP5Catalog)
-------------- 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



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




FAIL: test_recipient (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
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/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/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/testCRM.py", line 136, in test_sender
    self.assertEquals('person_module/sender', event.getSource())
AssertionError: 'person_module/sender' != None



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_04_WebPageTranslation (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
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/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/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/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/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/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 "/home/buildbot/buildbot_slave/full.bot_28/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/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/testNotificationTool.py", line 242, in test_04_noRecipient
    self.portal.portal_notifications.sendMessage(
  File "/home/buildbot/buildbot_slave/full.bot_28/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/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/testIngestion.py", line 1266, in test_11_EmailIngestion
    self.playSequence(step_list, quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5OOo/tests/testIngestion.py", line 982, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/buildbot_slave/full.bot_28/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 "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/buildbot_slave/full.bot_28/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/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



FAIL: test_08_EmbeddedDocumentState (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 595, in test_08_EmbeddedDocumentState
    self.assertEquals('embedded', image.getValidationState())
AssertionError: 'embedded' != 'draft'



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