[Erp5-report] ERP5_z28 r19249: 1467 Tests, 14 Errors, 5 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 12 00:42:02 CET 2008


Test Suite: ERP5_z28
Revision: 19249
Result: FAIL

All tests: 1467
Failures: 5
Errors: 14


The following tests failed:

  testXHTML                                          (3 errors)
   testApparel ComponentResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
   testApparel FabricResource_viewDefaultSupplyLine (testXHTML.TestXHTML)
   testApparel ModelResource_viewDefaultSupplyLine (testXHTML.TestXHTML)

  testCalendar                                       (3 errors)
   test_01_CatalogCalendarPeriod (testCalendar.TestCalendar)
   test_02_CatalogLeaveRequest (testCalendar.TestCalendar)
   test_03_getAvailableTime (testCalendar.TestCalendar)

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

  testPayroll                                        (2 errors)
   test_04_paySheetCalculation (testPayroll.TestPayroll)
   test_05_caculationWithANonNullMinimumValueSlice (testPayroll.TestPayroll)

  testAmount                                         (2 errors)
   testPrice (testAmount.TestMovement)
   testQuantity (testAmount.TestMovement)

  testNotificationTool                               (2 errors)
   test_01_defaultBehaviour (testNotificationTool.TestNotificationTool)
   test_04_noRecipient (testNotificationTool.TestNotificationTool)

  testClassTool                                      (1 errors)
   test_DocumentationHelperExpressionCategory (testClassTool.TestClassTool)

  testIngestion                                      (1 failures)
   test_11_EmailIngestion (testIngestion.TestIngestion)

  testDms                                            (1 failures, 1 errors)
   test_05_UniqueReference (testDms.TestDocument)
   test_07_testImplicitRelations (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



ERROR: test_01_CatalogCalendarPeriod (testCalendar.TestCalendar)
----------------------------------------------------------------------
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/testCalendar.py", line 405, in test_01_CatalogCalendarPeriod
    sequence_list.play(self)
  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:
      CreatePerson
      CreateGroupCalendar
      SetGroupCalendarSource
      CreateGroupPresencePeriod
      SetGroupPresencePeriodValues
      Tic
      SetGroupPresencePeriodToCheck
      CheckNotCatalogued
    > ConfirmGroupCalendar
      Tic
      CheckNotCatalogued
      SetGroupPresencePeriodDates
      Tic
      CheckCatalogued
      SetGroupPresencePeriodPerStopDate
      Tic
      CheckCatalogued
  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/ERP5/tests/testCalendar.py", line 230, in stepConfirmGroupCalendar
    'group_calendar_workflow')
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 323, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in GroupCalendar_checkConsistency
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Base_checkConsistency
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1193, in checkConsistency
    extra_errors = obj.checkConsistency()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1183, in checkConsistency
    error_list += Base.checkConsistency(self, fixit=fixit)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 2583, in checkConsistency
    error_list += constraint_instance.checkConsistency(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Constraint/PropertyTypeValidity.py", line 100, in checkConsistency
    value = obj.getProperty(property_id)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1265, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



ERROR: test_02_CatalogLeaveRequest (testCalendar.TestCalendar)
----------------------------------------------------------------------
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/testCalendar.py", line 435, in test_02_CatalogLeaveRequest
    sequence_list.play(self)
  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:
      CreatePerson
      CreateLeaveRequest
      SetLeaveRequestDestination
      CreatePersonalLeavePeriod
      SetPersonalLeavePeriodValues
      Tic
      SetPersonalLeavePeriodToCheck
      CheckNotCatalogued
    > PlanLeaveRequest
      ConfirmLeaveRequest
      Tic
      CheckNotCatalogued
      SetPersonalLeavePeriodDates
      Tic
      CheckCatalogued
      SetPersonalLeavePeriodPerStopDate
      Tic
      CheckCatalogued
  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/ERP5/tests/testCalendar.py", line 313, in stepPlanLeaveRequest
    'leave_request_workflow')
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 323, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in LeaveRequest_checkConsistency
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Base_checkConsistency
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1193, in checkConsistency
    extra_errors = obj.checkConsistency()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1183, in checkConsistency
    error_list += Base.checkConsistency(self, fixit=fixit)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 2583, in checkConsistency
    error_list += constraint_instance.checkConsistency(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Constraint/PropertyTypeValidity.py", line 100, in checkConsistency
    value = obj.getProperty(property_id)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1265, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



ERROR: test_03_getAvailableTime (testCalendar.TestCalendar)
----------------------------------------------------------------------
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/testCalendar.py", line 600, in test_03_getAvailableTime
    sequence_list.play(self)
  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:
      CreatePerson
      CreateGroupCalendar
      SetGroupCalendarSource
      CreateGroupPresencePeriod
      SetGroupPresencePeriodValues
      Tic
      SetGroupPresencePeriodToCheck
    > ConfirmGroupCalendar
      SetGroupPresencePeriodDates
      SetGroupPresencePeriodPerStopDate
      Tic
      CheckCatalogued
      CheckGetTimeAvailability
  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/ERP5/tests/testCalendar.py", line 230, in stepConfirmGroupCalendar
    'group_calendar_workflow')
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 323, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in GroupCalendar_checkConsistency
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Base_checkConsistency
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1193, in checkConsistency
    extra_errors = obj.checkConsistency()
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1183, in checkConsistency
    error_list += Base.checkConsistency(self, fixit=fixit)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 2583, in checkConsistency
    error_list += constraint_instance.checkConsistency(self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Constraint/PropertyTypeValidity.py", line 100, in checkConsistency
    value = obj.getProperty(property_id)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1265, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



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_04_paySheetCalculation (testPayroll.TestPayroll)
----------------------------------------------------------------------
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/testPayroll.py", line 699, in test_04_paySheetCalculation
    pay_sheet_line_list = self.calculatePaySheet(paysheet=paysheet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testPayroll.py", line 477, in calculatePaySheet
    paysheet_line_list = \
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/PaySheetTransaction.py", line 479, in createPaySheetLineList
    cell=cell,)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in PaySheetTransaction_defaultCalculationScript
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/DeliveryCell.py", line 166, in getPrice
    return self.getParentValue().getProperty('price') # Price is acquired
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1265, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



ERROR: test_05_caculationWithANonNullMinimumValueSlice (testPayroll.TestPayroll)
----------------------------------------------------------------------
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/testPayroll.py", line 775, in test_05_caculationWithANonNullMinimumValueSlice
    pay_sheet_line_list = self.calculatePaySheet(paysheet=paysheet)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testPayroll.py", line 477, in calculatePaySheet
    paysheet_line_list = \
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/PaySheetTransaction.py", line 479, in createPaySheetLineList
    cell=cell,)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 17, in PaySheetTransaction_defaultCalculationScript
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/DeliveryCell.py", line 166, in getPrice
    return self.getParentValue().getProperty('price') # Price is acquired
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1265, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



ERROR: testPrice (testAmount.TestMovement)
----------------------------------------------------------------------
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/testAmount.py", line 262, in testPrice
    self.assertEquals(None, mvt.getPrice())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



ERROR: testQuantity (testAmount.TestMovement)
----------------------------------------------------------------------
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/testAmount.py", line 256, in testQuantity
    self.assertEquals(None, mvt.getTotalPrice())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 297, in getTotalPrice
    REQUEST=REQUEST, **kw),**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 207, in _getTotalPrice
    price = self.getPrice(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



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 205, 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 205, in sendMessage
    email_value = person.getDefaultEmailValue()
AttributeError: 'NoneType' object has no attribute 'getDefaultEmailValue'



ERROR: test_DocumentationHelperExpressionCategory (testClassTool.TestClassTool)
----------------------------------------------------------------------
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/Products/ERP5Type/tests/testClassTool.py", line 149, in test_DocumentationHelperExpressionCategory
    self.assertNotEquals(None, movement.asDocumentationHelper())
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 3439, in asDocumentationHelper
    content=pformat(documented_item.getProperty(property['id'])))
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1265, in getProperty
    return method(**kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 278, in getPrice
    local_price = self._getPrice(context=self)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 202, in _getPrice
    operand_dict = self.getPriceCalculationOperandDict(context=context)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 241, in getPriceCalculationOperandDict
    operand_dict = method(**kw)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 788, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in Movement_getPriceCalculationOperandDict
  File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Document/Movement.py", line 511, in getExplanationValue
    return self.getDeliveryValue()
AttributeError: getDeliveryValue



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



FAIL: 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 431, in test_07_testImplicitRelations
    document1.getImplicitPredecessorValueList())
  File "/home/buildbot/buildbot_slave/full.bot_28/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/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 2264, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



More information about the Erp5-report mailing list