[Erp5-report] ERP5 r26770: 2476 Tests, 14 Errors, 9 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Mon May 4 19:53:12 CEST 2009


Test Suite: ERP5
Revision: 26770
Result: FAIL

All tests: 2476
Failures: 9
Errors: 14


The following tests failed:

  testERP5Web                                        (1 failures)
   Check getting getDocumentValueList from Web Section.

  testSQLCachedWorklist                              (1 failures)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist)

  testOpenOrder                                      (1 failures)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testERP5Interfaces                                 (12 errors)
   test_BusinessPath_implements_IArrow (testERP5Interfaces.TestERP5Interfaces)
   test_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
   test_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelCell_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelLine_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelRule_implements_IPredicate (testERP5Interfaces.TestERP5Interfaces)
   test_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
   test_TransformationRule_implements_IPredicate (testERP5Interfaces.TestERP5Interfaces)
   test_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
   test_Transformation_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
   test_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
   test_TransformedResource_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)

  testBPMCore                                        (5 failures, 2 errors)
   Check how is supported addition of invoice line to invoice build from order
   Check how is supported addition of invoice line to invoice build from order
   Check that after changing trade condition invoice is properly diverged and it is possible to solve
   Check building invoice after splitting packing list using different ratio
   Check that after changing trade condition invoice is properly diverged and it is possible to solve
   Check building invoice after splitting packing list using different ratio
   test_BuinessPathDynamicCategoryAccessProvider (testBPMCore.TestBPMImplementation)

  testERP5Catalog                                    (1 failures)
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------

FAIL: Check getting getDocumentValueList from Web Section.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 573, in test_07_WebSection_getDocumentValueList
    self.assertEqual(15, len(document_value_list))
AssertionError: 15 != 17



FAIL: test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testWorklist.py", line 367, in test_02_related_key
    result = workflow_tool.listActions(object=document)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 564, in WorkflowTool_listActions
    actions.extend(_getWorklistActionList())
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Cache.py", line 202, in __call__
    value = cache_factory(
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Cache.py", line 109, in __call__
    value = callable_object(*args, **kwd)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 530, in _getWorklistActionList
    src__=src__)
  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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1038, 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_getCountFromWorklistTable
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 1038, in buildSQLQuery
    return catalog.buildSQLQuery(REQUEST=REQUEST, query_table=query_table, **kw)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 2177, in buildSQLQuery
    result = query.asSQLExpression(self, only_group_columns).asSQLExpressionDict()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/EntireQuery.py", line 99, in asSQLExpression
    self.query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/ComplexQuery.py", line 136, in registerColumnMap
    query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/AutoQuery.py", line 129, in registerColumnMap
    return self.wrapped_query.registerColumnMap(sql_catalog, column_map)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/Query/RelatedQuery.py", line 87, in registerColumnMap
    self.group = self.search_key.registerColumnMap(column_map, table_alias_list=self.table_alias_list)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SearchKey/RelatedKey.py", line 144, in registerColumnMap
    column_map.registerCatalog()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ColumnMap.py", line 169, in registerCatalog
    assert self.catalog_table_name is not None
AssertionError



FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 183, in testPeriodicityDateList
    [(DateTime(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+1'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+1'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+1'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+1'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+1'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+1'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+1'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 GMT+1'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 GMT+1'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT+2'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT+2'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT+2'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT+2'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT+2'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT+2'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT+2'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT+1'), DateTime('2008/11/30'))]



ERROR: test_BusinessPath_implements_IArrow (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 84, in test_BusinessPath_implements_IArrow
    verifyClass(IArrow, BusinessPath)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 60, in _verify
    raise BrokenImplementation(iface, n)
BrokenImplementation: An object has failed to implement interface <InterfaceClass IArrow.IArrow>

        The getDestinationArrowBaseCategoryList attribute was not provided.
        



ERROR: test_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 79, in test_BusinessPath_implements_IBusinessPath
    verifyClass(IBusinessPath, BusinessPath)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass IBusinessPath.IBusinessPath>

        



ERROR: test_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 89, in test_BusinessPath_implements_ICategoryAccessProvider
    verifyClass(ICategoryAccessProvider, BusinessPath)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 85, in _verify
    raise BrokenMethodImplementation(n, mess)
BrokenMethodImplementation: The implementation of _getAcquiredCategoryMembershipList violates its contract
        because implementation doesn't allow enough arguments.
        



ERROR: test_TradeModelCell_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 53, in test_TradeModelCell_implements_IVariated
    from Products.ERP5Type.Interface import IVariated
ImportError: cannot import name IVariated



ERROR: test_TradeModelLine_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 63, in test_TradeModelLine_implements_IVariated
    from Products.ERP5Type.Interface import IVariated
ImportError: cannot import name IVariated



ERROR: test_TradeModelRule_implements_IPredicate (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 98, in test_TradeModelRule_implements_IPredicate
    from Products.ERP5Type.Interface import IPredicate
ImportError: cannot import name IPredicate



ERROR: test_TradeModelRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 93, in test_TradeModelRule_implements_IRule
    from Products.ERP5Type.Interface import IRule
ImportError: cannot import name IRule



ERROR: test_TransformationRule_implements_IPredicate (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 108, in test_TransformationRule_implements_IPredicate
    from Products.ERP5Type.Interface import IPredicate
ImportError: cannot import name IPredicate



ERROR: test_TransformationRule_implements_IRule (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 103, in test_TransformationRule_implements_IRule
    from Products.ERP5Type.Interface import IRule
ImportError: cannot import name IRule



ERROR: test_Transformation_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 69, in test_Transformation_implements_ITransformation
    verifyClass(ITransformation, Transformation)
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 90, in verifyClass
    return _verify(iface, candidate, tentative, vtype='c')
  File "/usr/lib/erp5/lib/python/zope/interface/verify.py", line 51, in _verify
    raise DoesNotImplement(iface)
DoesNotImplement: An object does not implement interface <InterfaceClass ITransformation.ITransformation>

        



ERROR: test_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 73, in test_Transformation_implements_IVariated
    from Products.ERP5Type.Interface import IVariated
ImportError: cannot import name IVariated



ERROR: test_TransformedResource_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Interfaces.py", line 113, in test_TransformedResource_implements_IVariated
    from Products.ERP5Type.Interface import IVariated
ImportError: cannot import name IVariated



ERROR: Check how is supported addition of invoice line to invoice build from order
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 1763, in test_TradeModelRuleSimulationBuildInvoiceNewInvoiceLineSupport
    raise NotImplementedError('TODO')
NotImplementedError: TODO



ERROR: Check how is supported addition of invoice line to invoice build from order
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 1763, in test_TradeModelRuleSimulationBuildInvoiceNewInvoiceLineSupport
    raise NotImplementedError('TODO')
NotImplementedError: TODO



FAIL: Check that after changing trade condition invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 1759, in test_TradeModelRuleSimulationBuildInvoiceNewTradeConditionDivergencyAndSolving
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceTradeModelRelatedMovements
      SetTradeConditionOld
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineNewTax
      CreateTradeModelLine
      ModifyTradeModelLineNewDiscount
      Tic
      SpecialiseInvoiceTradeCondition
      Tic
      SetTradeConditionNew
      GetOldTradeCondition
      CheckInvoiceCausalityStateDiverged
      CheckInvoiceNormalMovements
      CheckInvoiceTradeModelRelatedMovements
      AdoptPrevisionQuantityInvoice
      Tic
      GetNewTradeCondition
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceTradeModelRelatedMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 598, in stepCheckInvoiceCausalityStateSolved
    self.assertEqual('solved', invoice.getCausalityState(), invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x3855a70
  'decision_value': ['product_module/10']
  'divergence_scope': 'category'
  'prevision_value': ['product_module/12']
  'prevision_title': 'Product Discounted & Taxed'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/1/1/1>
  'tested_property': 'resource'
  'decision_title': 'Product Discounted'
  'message': 'Resource'>, <DivergenceMessage object at 0x6274fc8
  'decision_value': ['base_amount/discount']
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/discount', 'base_amount/tax']
  'prevision_title': 'discount, tax'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/1/1/1>
  'tested_property': 'base_contribution'
  'decision_title': 'discount'
  'message': 'Base Contribution'>, <DivergenceMessage object at 0x5220ea8
  'decision_value': ['product_module/12']
  'divergence_scope': 'category'
  'prevision_value': ['service_module/16']
  'prevision_title': 'Discount'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/1/1/1/2/2>
  'tested_property': 'resource'
  'decision_title': 'Product Discounted & Taxed'
  'message': 'Resource'>, <DivergenceMessage object at 0x5dc57e8
  'decision_value': ['base_amount/discount', 'base_amount/tax']
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/tax']
  'prevision_title': 'tax'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/1/1/1/2/2>
  'tested_property': 'base_contribution'
  'decision_title': 'discount, tax'
  'message': 'Base Contribution'>, <DivergenceMessage object at 0x3792050
  'decision_value': []
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/discount']
  'prevision_title': 'discount'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/1/1/1/2/2>
  'tested_property': 'base_application'
  'decision_title': ''
  'message': 'Base Application'>, <DivergenceMessage object at 0x38517a0
  'decision_value': ['product_module/12']
  'divergence_scope': 'category'
  'prevision_value': ['service_module/16']
  'prevision_title': 'Discount'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/2/1/1/2/1>
  'tested_property': 'resource'
  'decision_title': 'Product Discounted & Taxed'
  'message': 'Resource'>, <DivergenceMessage object at 0x747ef80
  'decision_value': ['base_amount/discount', 'base_amount/tax']
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/tax']
  'prevision_title': 'tax'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/2/1/1/2/1>
  'tested_property': 'base_contribution'
  'decision_title': 'discount, tax'
  'message': 'Base Contribution'>, <DivergenceMessage object at 0x630af38
  'decision_value': []
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/discount']
  'prevision_title': 'discount'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/2/1/1/2/1>
  'tested_property': 'base_application'
  'decision_title': ''
  'message': 'Base Application'>, <DivergenceMessage object at 0x7494b90
  'decision_value': ['service_module/16']
  'divergence_scope': 'category'
  'prevision_value': ['product_module/11']
  'prevision_title': 'Product Taxed'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/3'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/3/1/1>
  'tested_property': 'resource'
  'decision_title': 'Discount'
  'message': 'Resource'>, <DivergenceMessage object at 0x7b2a200
  'decision_value': ['base_amount/discount']
  'divergence_scope': 'category'
  'prevision_value': []
  'prevision_title': ''
  'mapping': {}
  'object_relative_url': 'accounting_module/4/3'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/3/1/1>
  'tested_property': 'base_application'
  'decision_title': 'discount'
  'message': 'Base Application'>, <DivergenceMessage object at 0x9412fc8
  'decision_value': ['product_module/11']
  'divergence_scope': 'category'
  'prevision_value': ['service_module/15']
  'prevision_title': 'Tax'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/2'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/2/1/1/2/2>
  'tested_property': 'resource'
  'decision_title': 'Product Taxed'
  'message': 'Resource'>, <DivergenceMessage object at 0x6c8e7e8
  'decision_value': ['base_amount/tax']
  'divergence_scope': 'category'
  'prevision_value': []
  'prevision_title': ''
  'mapping': {}
  'object_relative_url': 'accounting_module/4/2'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/2/1/1/2/2>
  'tested_property': 'base_contribution'
  'decision_title': 'tax'
  'message': 'Base Contribution'>, <DivergenceMessage object at 0x5d3db48
  'decision_value': []
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/tax']
  'prevision_title': 'tax'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/2'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/2/1/1/2/2>
  'tested_property': 'base_application'
  'decision_title': ''
  'message': 'Base Application'>, <DivergenceMessage object at 0x86b2cb0
  'decision_value': 0.22000000000000003
  'divergence_scope': 'property'
  'prevision_value': 0.22
  'mapping': {}
  'object_relative_url': 'accounting_module/4/1'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/1/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0x5dc5cb0
  'decision_value': 0.22000000000000003
  'divergence_scope': 'property'
  'prevision_value': 0.22
  'mapping': {}
  'object_relative_url': 'accounting_module/4/1'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/4/3/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>]



FAIL: Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 1891, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      DecreasePackingListLineListQuantity
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CheckPackingListDiverged
      SplitAndDeferPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetNewPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceTradeModelRelatedMovements
      SetNewPackingListAsPackingList
      PackPackingList
      Tic
      StartPackingList
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceTradeModelRelatedMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 598, in stepCheckInvoiceCausalityStateSolved
    self.assertEqual('solved', invoice.getCausalityState(), invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x939f440
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/7/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/8/2/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0x594f128
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/7/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/8/1/1/1/2/2>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0x921be60
  'decision_value': 0.19599999999999998
  'divergence_scope': 'property'
  'prevision_value': 0.19600000000000001
  'mapping': {}
  'object_relative_url': 'accounting_module/7/2'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/8/3/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0x6ade290
  'decision_value': 0.19599999999999998
  'divergence_scope': 'property'
  'prevision_value': 0.19600000000000001
  'mapping': {}
  'object_relative_url': 'accounting_module/7/2'
  'simulation_movement': <SimulationMovement at /erp5_portal_7ec0669017ef6852b4b9fb6ee11af604/portal_simulation/8/1/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>]



FAIL: Check that after changing trade condition invoice is properly diverged and it is possible to solve
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 1759, in test_TradeModelRuleSimulationBuildInvoiceNewTradeConditionDivergencyAndSolving
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceTradeModelRelatedMovements
      SetTradeConditionOld
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineNewTax
      CreateTradeModelLine
      ModifyTradeModelLineNewDiscount
      Tic
      SpecialiseInvoiceTradeCondition
      Tic
      SetTradeConditionNew
      GetOldTradeCondition
      CheckInvoiceCausalityStateDiverged
      CheckInvoiceNormalMovements
      CheckInvoiceTradeModelRelatedMovements
      AdoptPrevisionQuantityInvoice
      Tic
      GetNewTradeCondition
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceTradeModelRelatedMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 598, in stepCheckInvoiceCausalityStateSolved
    self.assertEqual('solved', invoice.getCausalityState(), invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x8c7e5f0
  'decision_value': ['product_module/10']
  'divergence_scope': 'category'
  'prevision_value': ['product_module/12']
  'prevision_title': 'Product Discounted & Taxed'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/1/1/1>
  'tested_property': 'resource'
  'decision_title': 'Product Discounted'
  'message': 'Resource'>, <DivergenceMessage object at 0x937acf8
  'decision_value': ['base_amount/discount']
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/discount', 'base_amount/tax']
  'prevision_title': 'discount, tax'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/1/1/1>
  'tested_property': 'base_contribution'
  'decision_title': 'discount'
  'message': 'Base Contribution'>, <DivergenceMessage object at 0xad41050
  'decision_value': ['product_module/12']
  'divergence_scope': 'category'
  'prevision_value': ['service_module/16']
  'prevision_title': 'Discount'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/2/1/1/2/1>
  'tested_property': 'resource'
  'decision_title': 'Product Discounted & Taxed'
  'message': 'Resource'>, <DivergenceMessage object at 0x79fa2d8
  'decision_value': ['base_amount/discount', 'base_amount/tax']
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/tax']
  'prevision_title': 'tax'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/2/1/1/2/1>
  'tested_property': 'base_contribution'
  'decision_title': 'discount, tax'
  'message': 'Base Contribution'>, <DivergenceMessage object at 0x7bd4b90
  'decision_value': []
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/discount']
  'prevision_title': 'discount'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/2/1/1/2/1>
  'tested_property': 'base_application'
  'decision_title': ''
  'message': 'Base Application'>, <DivergenceMessage object at 0x9f09878
  'decision_value': ['product_module/12']
  'divergence_scope': 'category'
  'prevision_value': ['service_module/16']
  'prevision_title': 'Discount'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/1/1/1/2/2>
  'tested_property': 'resource'
  'decision_title': 'Product Discounted & Taxed'
  'message': 'Resource'>, <DivergenceMessage object at 0x7309128
  'decision_value': ['base_amount/discount', 'base_amount/tax']
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/tax']
  'prevision_title': 'tax'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/1/1/1/2/2>
  'tested_property': 'base_contribution'
  'decision_title': 'discount, tax'
  'message': 'Base Contribution'>, <DivergenceMessage object at 0x86ff3b0
  'decision_value': []
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/discount']
  'prevision_title': 'discount'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/1/1/1/2/2>
  'tested_property': 'base_application'
  'decision_title': ''
  'message': 'Base Application'>, <DivergenceMessage object at 0xad41200
  'decision_value': ['service_module/16']
  'divergence_scope': 'category'
  'prevision_value': ['product_module/11']
  'prevision_title': 'Product Taxed'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/3'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/3/1/1>
  'tested_property': 'resource'
  'decision_title': 'Discount'
  'message': 'Resource'>, <DivergenceMessage object at 0x937df38
  'decision_value': ['base_amount/discount']
  'divergence_scope': 'category'
  'prevision_value': []
  'prevision_title': ''
  'mapping': {}
  'object_relative_url': 'accounting_module/4/3'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/3/1/1>
  'tested_property': 'base_application'
  'decision_title': 'discount'
  'message': 'Base Application'>, <DivergenceMessage object at 0x7a07248
  'decision_value': ['product_module/11']
  'divergence_scope': 'category'
  'prevision_value': ['service_module/15']
  'prevision_title': 'Tax'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/2'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/2/1/1/2/2>
  'tested_property': 'resource'
  'decision_title': 'Product Taxed'
  'message': 'Resource'>, <DivergenceMessage object at 0x690a5a8
  'decision_value': ['base_amount/tax']
  'divergence_scope': 'category'
  'prevision_value': []
  'prevision_title': ''
  'mapping': {}
  'object_relative_url': 'accounting_module/4/2'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/2/1/1/2/2>
  'tested_property': 'base_contribution'
  'decision_title': 'tax'
  'message': 'Base Contribution'>, <DivergenceMessage object at 0x9c43098
  'decision_value': []
  'divergence_scope': 'category'
  'prevision_value': ['base_amount/tax']
  'prevision_title': 'tax'
  'mapping': {}
  'object_relative_url': 'accounting_module/4/2'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/2/1/1/2/2>
  'tested_property': 'base_application'
  'decision_title': ''
  'message': 'Base Application'>, <DivergenceMessage object at 0x88b56c8
  'decision_value': 0.22000000000000003
  'divergence_scope': 'property'
  'prevision_value': 0.22
  'mapping': {}
  'object_relative_url': 'accounting_module/4/1'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/1/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0x93fa7a0
  'decision_value': 0.22000000000000003
  'divergence_scope': 'property'
  'prevision_value': 0.22
  'mapping': {}
  'object_relative_url': 'accounting_module/4/1'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/4/3/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>]



FAIL: Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 1891, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
    sequence_list.play(self)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    step.play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      DecreasePackingListLineListQuantity
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CheckPackingListDiverged
      SplitAndDeferPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetNewPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceTradeModelRelatedMovements
      SetNewPackingListAsPackingList
      PackPackingList
      Tic
      StartPackingList
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      CheckInvoiceTradeModelRelatedMovements
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 598, in stepCheckInvoiceCausalityStateSolved
    self.assertEqual('solved', invoice.getCausalityState(), invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x9f025a8
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/7/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/8/2/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0xb762c68
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/7/4'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/8/1/1/1/2/2>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0x868fe18
  'decision_value': 0.19599999999999998
  'divergence_scope': 'property'
  'prevision_value': 0.19600000000000001
  'mapping': {}
  'object_relative_url': 'accounting_module/7/2'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/8/3/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0x859af80
  'decision_value': 0.19599999999999998
  'divergence_scope': 'property'
  'prevision_value': 0.19600000000000001
  'mapping': {}
  'object_relative_url': 'accounting_module/7/2'
  'simulation_movement': <SimulationMovement at /erp5_portal_ecb84127dd62679616a8614c3581aeb8/portal_simulation/8/1/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>]



FAIL: test_BuinessPathDynamicCategoryAccessProvider (testBPMCore.TestBPMImplementation)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testBPMCore.py", line 1979, in test_BuinessPathDynamicCategoryAccessProvider
    business_path.getSource(context=context_movement))
AssertionError: 'organisation_module/1' != 'source/organisation_module/1'



FAIL: test_49_IndexInOrderedSearchFolder (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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1664, in test_49_IndexInOrderedSearchFolder
    self.failUnless('use index' in sql)
AssertionError



More information about the Erp5-report mailing list