[Erp5-report] ERP5 r29404: 2398 Tests, 46 Errors, 23 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Oct 4 08:33:14 CEST 2009
Test Suite: ERP5
Revision: 29404
Result: FAIL
All tests: 2398
Failures: 23
Errors: 46
The following tests failed:
testDomainTool (1 errors)
test_05_GenerateMappedValueWithVariation (testDomainTool.TestDomainTool)
testOrderBuilder (1 failures)
test_01a_simpleOrderBuilderVariatedResource (testOrderBuilder.TestOrderBuilder)
testPurchaseOrder (1 failures, 2 errors)
test_11_testPropertiesAcquisition (testPurchaseOrder.TestPurchaseOrder)
test_13_testAppliedRuleUpdate (testPurchaseOrder.TestPurchaseOrder)
test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testPurchaseOrder.TestPurchaseOrder)
testBase (3 failures)
check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent().
check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed.
check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed.
testProductionOrderApparel (1 errors)
test_03_testIndustrialPhase (testProductionOrderApparel.TestProductionOrderApparel)
testImmobilisation (1 errors)
test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
testInventory (1 errors)
test_03_InventoryModuleWithVariation (testInventory.TestInventory)
testERP5Commerce (16 errors)
test_01_AddResourceToShoppingCart (testERP5Commerce.TestCommerce)
test_02_AddSameResourceToShoppingCart (testERP5Commerce.TestCommerce)
test_03_AddDifferentResourceToShoppingCart (testERP5Commerce.TestCommerce)
test_04_CalculateTotaShoppingCartPrice (testERP5Commerce.TestCommerce)
test_05_TestUpdateShoppingCart (testERP5Commerce.TestCommerce)
test_06_TestClearShoppingCart (testERP5Commerce.TestCommerce)
test_09_paymentRedirect (testERP5Commerce.TestCommerce)
test_10_deleteShoppingCartItem (testERP5Commerce.TestCommerce)
test_11_finalizeShopping (testERP5Commerce.TestCommerce)
test_14_getSelectedShippingResource (testERP5Commerce.TestCommerce)
test_16_simulatePaypalPayment (testERP5Commerce.TestCommerce)
test_18_editShoppingCardWithABlankShippingMethod (testERP5Commerce.TestCommerce)
test_19_editShoppingCardWithShippingMethodWithoutPrice (testERP5Commerce.TestCommerce)
test_21_AddResourceToShoppingCartWithAnonymousUser (testERP5Commerce.TestCommerce)
test_22_createShoppingCartWithAnonymousAndLogin (testERP5Commerce.TestCommerce)
test_28_finalizeShoppingWithComment (testERP5Commerce.TestCommerce)
testOrder (2 failures, 2 errors)
test_11_testPropertiesAcquisition (testOrder.TestOrder)
test_13_testAppliedRuleUpdate (testOrder.TestOrder)
test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testOrder.TestOrder)
test_19_getMovementList (testOrder.TestOrder)
testInventoryModule (3 failures)
test_02_VariatedInventory (testInventoryModule.TestInventoryModule)
test_03_VariatedAggregatedInventory (testInventoryModule.TestInventoryModule)
test_04_VariatedAggregatedInventoryGetInventoryList (testInventoryModule.TestInventoryModule)
testOpenOrder (1 failures)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testMRP (4 errors)
test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation)
test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation)
test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation)
test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation)
testTradeModelLine (4 failures)
test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale)
test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale)
test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLinePurchase)
test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLinePurchase)
testERP5Interfaces (8 errors)
test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAggregatedAmountList (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_IBusinessPath (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.BusinessPath_BusinessPath_implements_ICategoryAccessProvider (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TradeCondition_TradeCondition_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Transformation_Transformation_implements_ITransformation (testERP5Interfaces.TestERP5Interfaces)
test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated (testERP5Interfaces.TestERP5Interfaces)
testApparelTransformation (1 errors)
test_01_getAggregatedAmountList (testApparelTransformation.TestApparelTransformation)
testTemplate (2 failures)
test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
Check what happen when templates are created one by one without reindexation
testResource (8 errors)
test_01_getVariationBaseCategoryList (testResource.TestResource)
test_02_getVariationRangeCategoryList (testResource.TestResource)
test_03_getVariationRangeCategoryItemList (testResource.TestResource)
test_04_getVariationCategoryList (testResource.TestResource)
test_05_getVariationCategoryList (testResource.TestResource)
test_06_getVariationCategoryItemList (testResource.TestResource)
test_07_getVariationCategoryItemList (testResource.TestResource)
test_08_variationPropertyList (testResource.TestResource)
testERP5Catalog (1 failures)
test_complex_query (testERP5Catalog.TestERP5Catalog)
testERP5DocumentSyncML (1 failures)
test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
testERP5TypeInterfaces (1 errors)
test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage (testERP5TypeInterfaces.TestERP5TypeInterfaces)
testXMLMatrix (1 failures)
test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
testCacheTool (1 failures)
Check that all RamCache doesn't clear the same cache_dict
testOOoStyle (1 failures)
test_report_view_sheet_per_report_section (testOOoStyle.TestODSStyle)
testOOoStyleWithFlare (1 failures)
test_report_view_sheet_per_report_section (testOOoStyleWithFlare.TestODSStyle)
The following tests have an unknown status:
../../Products/ERP5Type/tests/runUnitTest.py --erp5_sql_connection_string 'test test' testXHTML
-------------- next part --------------
ERROR: test_05_GenerateMappedValueWithVariation (testDomainTool.TestDomainTool)
----------------------------------------------------------------------
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/testDomainTool.py", line 352, in test_05_GenerateMappedValueWithVariation
for range in cell_range[0]:
IndexError: list index out of range
FAIL: test_01a_simpleOrderBuilderVariatedResource (testOrderBuilder.TestOrderBuilder)
----------------------------------------------------------------------
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/testOrderBuilder.py", line 444, in test_01a_simpleOrderBuilderVariatedResource
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
ClearActivities
CreateOrganisation
CreateVariatedResource
SetMaxDelayOnResource
SetMinFlowOnResource
Tic
DecreaseOrganisationResourceQuantityVariated
Tic
CreateOrderBuilder
FillOrderBuilder
Tic
BuildOrderBuilder
Tic
> CheckGeneratedDocumentListVariated
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testOrderBuilder.py", line 193, in stepCheckGeneratedDocumentListVariated
sum(self.wanted_quantity_matrix.itervalues())
AssertionError: 1.0 != 3.0
ERROR: test_11_testPropertiesAcquisition (testPurchaseOrder.TestPurchaseOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1496, in test_11_testPropertiesAcquisition
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateOrganisation
CreateOrder
CreateVariatedResource
CreateOrderLine
CheckOrder
CheckOrderInitialState
CheckOrderLineAcquisition
SetOrderLineResource
SetOrderLineDefaultValues
CheckOrderLineDefaultValues
CheckOrderLineTotalQuantity
SetOrderLineFullVCL
CompleteOrderLineMatrix
> CheckOrderCellAcquisition
Tic
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testOrder.py", line 699, in stepCheckOrderCellAcquisition
cell = order_line.getCellValueList()[0]
IndexError: list index out of range
ERROR: test_13_testAppliedRuleUpdate (testPurchaseOrder.TestPurchaseOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1647, in test_13_testAppliedRuleUpdate
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateOrganisation
CreateOrder
CreateVariatedResource
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
CheckOrderLineDefaultValues
CheckOrderLineTotalQuantity
SetOrderLineFullVCL
CompleteOrderLineMatrix
OrderOrder
Tic
> ModifyOrderCellStartDate
Tic
CheckOrderSimulation
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testOrder.py", line 962, in stepModifyOrderCellStartDate
order_cell.setStartDate(self.datetime + 99)
UnboundLocalError: local variable 'order_cell' referenced before assignment
FAIL: test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testPurchaseOrder.TestPurchaseOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1335, in test_07b_OrderLine_getTotalPriceAndQuantityFastParameter
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateOrder
CreateVariatedResource
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
CheckOrderLineDefaultValues
SetOrderLineFullVCL
CompleteOrderLineMatrix
> CheckOrderLineTotalPriceAndQuantityFastParameter
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testOrder.py", line 555, in stepCheckOrderLineTotalPriceAndQuantityFastParameter
self.assertEquals(total_price, order_line.getTotalPrice(fast=0))
AssertionError: 0 != 54945.0
FAIL: check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent().
----------------------------------------------------------------------
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/testBase.py", line 1066, in test_NonIndexable
self.assertEquals(0, len(self.portal.portal_catalog(uid=person.getUid())))
AssertionError: 0 != 1
FAIL: check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed.
----------------------------------------------------------------------
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/testBase.py", line 1084, in test_NonIndexable2
self.assertEquals(0, len(self.portal.portal_catalog(uid=person.getUid())))
AssertionError: 0 != 1
FAIL: check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed.
----------------------------------------------------------------------
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/testBase.py", line 1102, in test_NonIndexable3
self.assertEquals(0, len(self.portal.portal_catalog(uid=person.getUid())))
AssertionError: 0 != 1
ERROR: test_03_testIndustrialPhase (testProductionOrderApparel.TestProductionOrderApparel)
----------------------------------------------------------------------
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/testProductionOrderApparel.py", line 1002, in test_03_testIndustrialPhase
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
ClearActivities
CreateProductionOrganisation1
CreateProductionOrganisation2
CreateSupplyOrganisation1
CreateSupplyOrganisation2
CreateTwoPhasesSC
CreateVariatedResource
CreateComponent1
CreateComponent2
CreateTransformation
CreateOrganisation
CreateOrder
CreateOrderLine
Tic
OrderOrder
Tic
> CheckTwoPhasesSimulation
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testProductionOrderApparel.py", line 772, in stepCheckTwoPhasesSimulation
self.checkObjectAttributes(
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testProductionOrderApparel.py", line 340, in checkObjectAttributes
LOG('object.getOrderValue().getQuantity()',0,object.getOrderValue().getQuantity())
AttributeError: 'NoneType' object has no attribute 'getQuantity'
ERROR: test_20_TestAccountingAcceptDecisionSolver (testImmobilisation.TestImmobilisation)
----------------------------------------------------------------------
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/testImmobilisation.py", line 3785, in test_20_TestAccountingAcceptDecisionSolver
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
SetTest20SequenceData
DeleteAccounting
Tic
DeleteAllPackingLists
Tic
TestAllAppliedRulesAreEmpty
CreatePackingList
DeliverPackingList
AggregateItems
Tic
BuildAccounting
Tic
ConfirmAmortisationTransaction
Tic
TestSimpleAccountingBuild
ChangeAccountingPrice
Tic
> AcceptDecision
Tic
TestSimulationBuildAfterAcceptDecision
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testImmobilisation.py", line 1011, in stepAcceptDecision
'amortisation_transaction_causality_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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 403, in DCWorkflowDefinition_executeTransition
script()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Base.py", line 235, in __call__
wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 329, 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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1013, 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 AmortisationTransaction_acceptDecision
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Tool/SimulationTool.py", line 126, in solveDelivery
additional_parameters=additional_parameters, **kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Tool/SimulationTool.py", line 163, in _solveMovementOrDelivery
result = solver.solveDelivery(document)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/TargetSolver/TargetSolver.py", line 85, in solveDelivery
self.solveMovement(movement)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/TargetSolver/ProfitAndLoss.py", line 47, in solveMovement
delivery_line_quantity = delivery_line.getQuantity()
AttributeError: getQuantity
ERROR: test_03_InventoryModuleWithVariation (testInventory.TestInventory)
----------------------------------------------------------------------
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/testInventory.py", line 1905, in test_03_InventoryModuleWithVariation
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateOrganisationsForModule
CreateVariatedResource
Tic
CreatePackingListForModule
Tic
> CreateVariatedPackingListLine
Tic
DeliverPackingList
Tic
TestInitialVariatedInventory
CreateSingleVariatedInventory
Tic
TestVariatedInventoryAfterInventory
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInventory.py", line 301, in stepCreateVariatedPackingListLine
cell.edit(
UnboundLocalError: local variable 'quantity' referenced before assignment
ERROR: test_01_AddResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 374, in test_01_AddResourceToShoppingCart
self.assertTrue(self.portal.SaleOrder_isShoppingCartEmpty())
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 1013, 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 1, in SaleOrder_isShoppingCartEmpty
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 1013, 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 5, in SaleOrder_getShoppingCartItemList
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_02_AddSameResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 394, in test_02_AddSameResourceToShoppingCart
self.portal.Resource_addToShoppingCart(default_product, 1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_03_AddDifferentResourceToShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 412, in test_03_AddDifferentResourceToShoppingCart
self.portal.Resource_addToShoppingCart(default_product, 1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_04_CalculateTotaShoppingCartPrice (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 431, in test_04_CalculateTotaShoppingCartPrice
self.portal.Resource_addToShoppingCart(default_product, 1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_05_TestUpdateShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 472, in test_05_TestUpdateShoppingCart
self.portal.Resource_addToShoppingCart(default_product, quantity=1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_06_TestClearShoppingCart (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 515, in test_06_TestClearShoppingCart
self.createShoppingCartWithProductListAndShipping()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 350, in createShoppingCartWithProductListAndShipping
quantity=1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_09_paymentRedirect (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 551, in test_09_paymentRedirect
self.portal.Resource_addToShoppingCart(default_product, quantity=1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_10_deleteShoppingCartItem (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 574, in test_10_deleteShoppingCartItem
self.portal.Resource_addToShoppingCart(default_product, quantity=1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_11_finalizeShopping (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 604, in test_11_finalizeShopping
quantity=1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_14_getSelectedShippingResource (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 658, in test_14_getSelectedShippingResource
self.portal.Resource_addToShoppingCart(default_product, 1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_16_simulatePaypalPayment (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 715, in test_16_simulatePaypalPayment
self.createShoppingCartWithProductListAndShipping()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 350, in createShoppingCartWithProductListAndShipping
quantity=1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_18_editShoppingCardWithABlankShippingMethod (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 774, in test_18_editShoppingCardWithABlankShippingMethod
self.portal.Resource_addToShoppingCart(default_product, 1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_19_editShoppingCardWithShippingMethodWithoutPrice (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 796, in test_19_editShoppingCardWithShippingMethodWithoutPrice
product.Resource_addToShoppingCart(default_product, 1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_21_AddResourceToShoppingCartWithAnonymousUser (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 823, in test_21_AddResourceToShoppingCartWithAnonymousUser
self.createShoppingCartWithProductListAndShipping()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 350, in createShoppingCartWithProductListAndShipping
quantity=1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_22_createShoppingCartWithAnonymousAndLogin (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 835, in test_22_createShoppingCartWithAnonymousAndLogin
self.createShoppingCartWithProductListAndShipping()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testERP5Commerce.py", line 350, in createShoppingCartWithProductListAndShipping
quantity=1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_28_finalizeShoppingWithComment (testERP5Commerce.TestCommerce)
----------------------------------------------------------------------
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/testERP5Commerce.py", line 929, in test_28_finalizeShoppingWithComment
quantity=1)
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 1013, 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 30, in Resource_addToShoppingCart
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 1013, 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 28, in SaleOrder_getShoppingCart
AttributeError: 'NoneType' object has no attribute 'WebSite_getShoppingCartDefaultCurrency'
ERROR: test_11_testPropertiesAcquisition (testOrder.TestOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1496, in test_11_testPropertiesAcquisition
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateOrganisation
CreateOrder
CreateVariatedResource
CreateOrderLine
CheckOrder
CheckOrderInitialState
CheckOrderLineAcquisition
SetOrderLineResource
SetOrderLineDefaultValues
CheckOrderLineDefaultValues
CheckOrderLineTotalQuantity
SetOrderLineFullVCL
CompleteOrderLineMatrix
> CheckOrderCellAcquisition
Tic
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testOrder.py", line 699, in stepCheckOrderCellAcquisition
cell = order_line.getCellValueList()[0]
IndexError: list index out of range
ERROR: test_13_testAppliedRuleUpdate (testOrder.TestOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1647, in test_13_testAppliedRuleUpdate
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateOrganisation
CreateOrder
CreateVariatedResource
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
CheckOrderLineDefaultValues
CheckOrderLineTotalQuantity
SetOrderLineFullVCL
CompleteOrderLineMatrix
OrderOrder
Tic
> ModifyOrderCellStartDate
Tic
CheckOrderSimulation
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testOrder.py", line 962, in stepModifyOrderCellStartDate
order_cell.setStartDate(self.datetime + 99)
UnboundLocalError: local variable 'order_cell' referenced before assignment
FAIL: test_07b_OrderLine_getTotalPriceAndQuantityFastParameter (testOrder.TestOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1335, in test_07b_OrderLine_getTotalPriceAndQuantityFastParameter
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateOrder
CreateVariatedResource
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
CheckOrderLineDefaultValues
SetOrderLineFullVCL
CompleteOrderLineMatrix
> CheckOrderLineTotalPriceAndQuantityFastParameter
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testOrder.py", line 555, in stepCheckOrderLineTotalPriceAndQuantityFastParameter
self.assertEquals(total_price, order_line.getTotalPrice(fast=0))
AssertionError: 0 != 54945.0
FAIL: test_19_getMovementList (testOrder.TestOrder)
----------------------------------------------------------------------
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/testOrder.py", line 1987, in test_19_getMovementList
self.assertEquals(1, len(order.getMovementList()))
AssertionError: 1 != 2
FAIL: test_02_VariatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
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/testInventoryModule.py", line 374, in test_02_VariatedInventory
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateVariatedResource
CreateOrganisation1
CreateInitialMovements
Tic
> CreateFirstVariatedInventory
Tic
CheckFirstVariatedInventory
CreateSecondVariatedInventory
Tic
CheckSecondVariatedInventory
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 284, in stepCreateFirstVariatedInventory
sequence=sequence, quantity=quantity)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 255, in createVariatedInventoryLine
self.assertEquals(len(resource_vcl),2)
AssertionError: 0 != 2
FAIL: test_03_VariatedAggregatedInventory (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
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/testInventoryModule.py", line 536, in test_03_VariatedAggregatedInventory
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateVariatedResource
CreateOrganisation1
CreateInitialMovements
Tic
CreateItem
CreateItem
> CreateFirstVariatedAggregatedInventory
Tic
CheckFirstVariatedAggregatedInventory
CreateSecondVariatedAggregatedInventory
Tic
CheckSecondVariatedAggregatedInventory
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 402, in stepCreateFirstVariatedAggregatedInventory
sequence=sequence, quantity=quantity)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 255, in createVariatedInventoryLine
self.assertEquals(len(resource_vcl),2)
AssertionError: 0 != 2
FAIL: test_04_VariatedAggregatedInventoryGetInventoryList (testInventoryModule.TestInventoryModule)
----------------------------------------------------------------------
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/testInventoryModule.py", line 564, in test_04_VariatedAggregatedInventoryGetInventoryList
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateVariatedResource
CreateOrganisation1
CreateInitialMovements
Tic
CreateItem
CreateItem
> CreateFirstVariatedAggregatedInventory
Tic
CheckFirstVariatedAggregatedInventory
CheckExplanationTextInInventoryList
CreateSecondVariatedAggregatedInventory
Tic
CheckSecondVariatedAggregatedInventory
CheckExplanationTextInInventoryList
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 402, in stepCreateFirstVariatedAggregatedInventory
sequence=sequence, quantity=quantity)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testInventoryModule.py", line 255, in createVariatedInventoryLine
self.assertEquals(len(resource_vcl),2)
AssertionError: 0 != 2
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_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
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/testMRP.py", line 370, in test_TransformationRule_expand_concurrent
rule.expand(applied_rule)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/TransformationModelRule.py", line 330, in expand
raise TransformationRuleError,\
TransformationRuleError: the Properties which is used to make a movement on the last path
are different with the Transformation <Transformation at /erp5_portal_bc5f11ca24b87f01bc35facdbd8109a9/transformation_module/2> and the Business Process <BusinessProcess at /erp5_portal_bc5f11ca24b87f01bc35facdbd8109a9/business_process_module/2>
ERROR: test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
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/testMRP.py", line 398, in test_TransformationRule_expand_reexpand
self.test_TransformationRule_expand_concurrent()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testMRP.py", line 370, in test_TransformationRule_expand_concurrent
rule.expand(applied_rule)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/TransformationModelRule.py", line 330, in expand
raise TransformationRuleError,\
TransformationRuleError: the Properties which is used to make a movement on the last path
are different with the Transformation <Transformation at /erp5_portal_bc5f11ca24b87f01bc35facdbd8109a9/transformation_module/3> and the Business Process <BusinessProcess at /erp5_portal_bc5f11ca24b87f01bc35facdbd8109a9/business_process_module/3>
ERROR: test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
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/testMRP.py", line 262, in test_TransformationRule_getHeadProductionPathList
rule.getHeadProductionPathList(transformation, business_process))
AttributeError: getHeadProductionPathList
ERROR: test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation)
----------------------------------------------------------------------
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/testMRP.py", line 476, in test_TransformationSourcingRule_expand
if len(state.getRemainingTradePhaseList(self.portal)) == 0:
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/BusinessState.py", line 174, in getRemainingTradePhaseList
if not (path.getRelatedSimulationMovementValueList(explanation) and
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/BusinessPath.py", line 358, in getRelatedSimulationMovementValueList
for applied_rule in explanation.getCausalityRelatedValueList(
AttributeError: getCausalityRelatedValueList
FAIL: test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
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/testTradeModelLine.py", line 1975, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, 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
GetInvoiceLineDiscounted
GetInvoiceLineDiscountedTaxed
GetInvoiceLineTaxed
ModifyQuantityInvoiceLineDiscounted
ModifyQuantityInvoiceLineDiscountedTaxed
ModifyQuantityInvoiceLineTaxed
Tic
CheckInvoiceCausalityStateDiverged
AcceptDecisionQuantityInvoice
Tic
> CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 457, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x5f17950
'decision_value': 1.9999999999999998
'divergence_scope': 'quantity'
'prevision_value': 5.0
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/3/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '1.9999999999999998'
'message': 'Quantity'>, <DivergenceMessage object at 0x7e30488
'decision_value': -0.60000000000000009
'divergence_scope': 'quantity'
'prevision_value': -1.5
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/2/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '-0.60000000000000009'
'message': 'Quantity'>, <DivergenceMessage object at 0x6fc7a28
'decision_value': 28.5
'divergence_scope': 'quantity'
'prevision_value': 71.25
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/1/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '28.5'
'message': 'Quantity'>, <DivergenceMessage object at 0x607def0
'decision_value': 12.0
'divergence_scope': 'quantity'
'prevision_value': 30.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/2/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '12.0'
'message': 'Quantity'>, <DivergenceMessage object at 0x63c0bd8
'decision_value': 30.0
'divergence_scope': 'quantity'
'prevision_value': 75.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/8/1/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '30.0'
'message': 'Quantity'>]
FAIL: test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
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/testTradeModelLine.py", line 2057, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, 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
SetNewPackingListAsPackingList
PackPackingList
Tic
StartPackingList
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 457, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x9adeb90
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/21/2/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>, <DivergenceMessage object at 0x5465dd0
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/21/1/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>]
FAIL: test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
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/testTradeModelLine.py", line 1975, in test_TradeModelRuleSimulationBuildInvoiceInvoiceLineModifyDivergencyAndSolving
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, 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
GetInvoiceLineDiscounted
GetInvoiceLineDiscountedTaxed
GetInvoiceLineTaxed
ModifyQuantityInvoiceLineDiscounted
ModifyQuantityInvoiceLineDiscountedTaxed
ModifyQuantityInvoiceLineTaxed
Tic
CheckInvoiceCausalityStateDiverged
AcceptDecisionQuantityInvoice
Tic
> CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 457, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x965b560
'decision_value': 1.9999999999999998
'divergence_scope': 'quantity'
'prevision_value': 5.0
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/8/3/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '1.9999999999999998'
'message': 'Quantity'>, <DivergenceMessage object at 0xa776050
'decision_value': -0.60000000000000009
'divergence_scope': 'quantity'
'prevision_value': -1.5
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/8/2/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '-0.60000000000000009'
'message': 'Quantity'>, <DivergenceMessage object at 0x9c71950
'decision_value': 28.5
'divergence_scope': 'quantity'
'prevision_value': 71.25
'mapping': {}
'object_relative_url': 'accounting_module/5/5'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/8/1/1/1/2/2>
'tested_property': 'quantity'
'decision_title': '28.5'
'message': 'Quantity'>, <DivergenceMessage object at 0x7d43710
'decision_value': 12.0
'divergence_scope': 'quantity'
'prevision_value': 30.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/8/2/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '12.0'
'message': 'Quantity'>, <DivergenceMessage object at 0x827c4d0
'decision_value': 30.0
'divergence_scope': 'quantity'
'prevision_value': 75.0
'mapping': {}
'object_relative_url': 'accounting_module/5/4'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/8/1/1/1/2/1>
'tested_property': 'quantity'
'decision_title': '30.0'
'message': 'Quantity'>]
FAIL: test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLinePurchase)
----------------------------------------------------------------------
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/testTradeModelLine.py", line 2057, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
sequence_list.play(self, quiet=True)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, 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
SetNewPackingListAsPackingList
PackPackingList
Tic
StartPackingList
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
StopPackingList
DeliverPackingList
Tic
CheckOrderLineTaxedSimulation
CheckOrderLineDiscountedSimulation
CheckOrderLineDiscountedTaxedSimulation
GetInvoice
CheckInvoiceCausalityStateSolved
CheckInvoiceNormalMovements
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 457, in stepCheckInvoiceCausalityStateSolved
invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0xa619878
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/21/2/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>, <DivergenceMessage object at 0xb090ab8
'decision_value': -0.049999999999999989
'divergence_scope': 'property'
'prevision_value': -0.050000000000000003
'mapping': {}
'object_relative_url': 'accounting_module/12/5'
'simulation_movement': <SimulationMovement at /erp5_portal_09d9535cbc3bc43e384f3d15defba190/portal_simulation/21/1/1/1/2/1>
'tested_property': 'price'
'message': 'Price'>]
ERROR: test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAggregatedAmountList (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/ERP5Type/tests/testERP5TypeInterfaces.py", line 58, in testMethod
verifyClass(Interface, Klass)
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 IAggregatedAmountList.IAggregatedAmountList>
ERROR: test_Products.ERP5Type.Document.BusinessPath_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/ERP5Type/tests/testERP5TypeInterfaces.py", line 58, in testMethod
verifyClass(Interface, Klass)
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 IBusinessPath.IBusinessPath>
The getExpectedCompletionDuration attribute was not provided.
ERROR: test_Products.ERP5Type.Document.BusinessPath_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/ERP5Type/tests/testERP5TypeInterfaces.py", line 58, in testMethod
verifyClass(Interface, Klass)
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_Products.ERP5Type.Document.TradeCondition_TradeCondition_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/ERP5Type/tests/testERP5TypeInterfaces.py", line 58, in testMethod
verifyClass(Interface, Klass)
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 getAggregatedAmountList violates its contract
because implementation doesn't allow enough arguments.
ERROR: test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_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/ERP5Type/tests/testERP5TypeInterfaces.py", line 58, in testMethod
verifyClass(Interface, Klass)
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 updateAggregatedAmountList violates its contract
because implementation doesn't allow enough arguments.
ERROR: test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_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/ERP5Type/tests/testERP5TypeInterfaces.py", line 58, in testMethod
verifyClass(Interface, Klass)
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 updateAggregatedAmountList violates its contract
because implementation doesn't allow enough arguments.
ERROR: test_Products.ERP5Type.Document.Transformation_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/ERP5Type/tests/testERP5TypeInterfaces.py", line 58, in testMethod
verifyClass(Interface, Klass)
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 updateAggregatedAmountList violates its contract
because implementation doesn't allow enough arguments.
ERROR: test_Products.ERP5Type.Document.Transformation_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/ERP5Type/tests/testERP5TypeInterfaces.py", line 58, in testMethod
verifyClass(Interface, Klass)
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 getVariationRangeCategoryItemList violates its contract
because implementation doesn't allow enough arguments.
ERROR: test_01_getAggregatedAmountList (testApparelTransformation.TestApparelTransformation)
----------------------------------------------------------------------
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/testApparelTransformation.py", line 727, in test_01_getAggregatedAmountList
sequence_list.play(self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateComponentDict
CreateOperationDict
Tic
CreateVariatedResource
Tic
CreateTransformation
Tic
CreateTransformationLine
Tic
CreateIncludedTransformation
Tic
CreateIncludedTransformationLine
Tic
VerifyTransformationAggregatedAmountList
VerifyIncludedTransformationAggregatedAmountList
IncludeTransformation
Tic
VerifySpecialisedTransformationAggregatedAmountList
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testApparelTransformation.py", line 147, in stepCreateComponentDict
base_id='path')
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/SupplyLine.py", line 169, in newCell
return XMLMatrix.newCell(self, *kw, **kwd)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/XMLMatrix.py", line 497, in newCell
if self.index[base_id][i].has_key(my_id):
File "/usr/lib64/python2.4/UserDict.py", line 17, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: 0
FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
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/testTemplate.py", line 344, in test_NonDeliveryTemplateNotIndexable
self._testTemplateNotIndexable(document)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testTemplate.py", line 314, in _testTemplateNotIndexable
self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1
FAIL: Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
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/testTemplate.py", line 278, in test_manyTemplatesWithoutReindexation
self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2
ERROR: test_01_getVariationBaseCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 263, in test_01_getVariationBaseCategoryList
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateResource
CheckGetVariationBaseCategoryList
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 172, in stepCreateResource
sequence.edit(**{base_category:None})
TypeError: edit() keywords must be strings
ERROR: test_02_getVariationRangeCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 318, in test_02_getVariationRangeCategoryList
self.genericTest('CheckGetVariationRangeCategoryList', quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 311, in genericTest
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateResource
CheckGetVariationRangeCategoryList
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 172, in stepCreateResource
sequence.edit(**{base_category:None})
TypeError: edit() keywords must be strings
ERROR: test_03_getVariationRangeCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 338, in test_03_getVariationRangeCategoryItemList
self.genericTest('CheckGetVariationRangeCategoryItemList', quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 311, in genericTest
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateResource
CheckGetVariationRangeCategoryItemList
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 172, in stepCreateResource
sequence.edit(**{base_category:None})
TypeError: edit() keywords must be strings
ERROR: test_04_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 355, in test_04_getVariationCategoryList
self.genericTest('CheckGetVariationCategoryList', quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 311, in genericTest
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateResource
CheckGetVariationCategoryList
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 172, in stepCreateResource
sequence.edit(**{base_category:None})
TypeError: edit() keywords must be strings
ERROR: test_05_getVariationCategoryList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 380, in test_05_getVariationCategoryList
self.genericTest('CheckGetVariationCategoryListWithoutOmit', quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 311, in genericTest
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateResource
CheckGetVariationCategoryListWithoutOmit
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 172, in stepCreateResource
sequence.edit(**{base_category:None})
TypeError: edit() keywords must be strings
ERROR: test_06_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 398, in test_06_getVariationCategoryItemList
self.genericTest('CheckGetVariationCategoryItemList', quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 311, in genericTest
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateResource
CheckGetVariationCategoryItemList
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 172, in stepCreateResource
sequence.edit(**{base_category:None})
TypeError: edit() keywords must be strings
ERROR: test_07_getVariationCategoryItemList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 418, in test_07_getVariationCategoryItemList
quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 311, in genericTest
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateResource
CheckGetVariationCategoryItemListWithoutOmit
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 172, in stepCreateResource
sequence.edit(**{base_category:None})
TypeError: edit() keywords must be strings
ERROR: test_08_variationPropertyList (testResource.TestResource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 457, in test_08_variationPropertyList
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 165, 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 110, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
> CreateResource
CheckGetVariationPropertyList
CheckSetVariationPropertyList
CheckGetVariationPropertyList
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
method(sequence=sequence)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testResource.py", line 172, in stepCreateResource
sequence.edit(**{base_category:None})
TypeError: edit() keywords must be strings
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/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2310, in test_complex_query
self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3
FAIL: test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
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/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 909, in test_08_MultiNodeConflict
self.assertEqual(len(conflict_list), 5)
AssertionError: 6 != 5
ERROR: test_Products.ERP5Type.ConsistencyMessage_ConsistencyMessage_implements_IConsistencyMessage (testERP5TypeInterfaces.TestERP5TypeInterfaces)
----------------------------------------------------------------------
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/ERP5Type/tests/testERP5TypeInterfaces.py", line 58, in testMethod
verifyClass(Interface, Klass)
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 Products.ERP5Type.interfaces.consistency_message.IConsistencyMessage>
The fix attribute was not provided.
FAIL: test_9999_SetCellRangeAndCatalogWithoutActivities (testXMLMatrix.TestXMLMatrix)
----------------------------------------------------------------------
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/Products/ERP5Type/tests/testXMLMatrix.py", line 342, in test_9999_SetCellRangeAndCatalogWithoutActivities
self.checkSetCellRangeAndCatalog(active=0)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/Products/ERP5Type/tests/testXMLMatrix.py", line 213, in checkSetCellRangeAndCatalog
matrix = order.newContent(id='1', portal_type='Purchase Order Line')
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 460, in newContent
return FolderMixIn.newContent(self, *args, **kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 170, in newContent
is_indexable=is_indexable
File "/usr/lib/erp5/lib/python/Products/CMFCore/TypesTool.py", line 930, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/ERP5Type.py", line 273, in constructInstance
ob = self._constructInstance(container, id, *args, **kw)
File "/usr/lib/erp5/lib/python/Products/CMFCore/TypesTool.py", line 571, in _constructInstance
newid = m(id, *args, **kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Utils.py", line 425, in __call__
folder._setObject(id, o)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Base.py", line 230, in __call__
result = apply(self.__dict__['_m'], (instance,) + args, kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 888, in _setObject
return CMFBTreeFolder._setObject(self, id, object, roles, user, set_owner)
File "/usr/lib/erp5/lib/python/Products/BTreeFolder2/BTreeFolder2.py", line 431, in _setObject
object.manage_afterAdd(object, self)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/DeliveryLine.py", line 362, in manage_afterAdd
return Movement.manage_afterAdd(self, item, container)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/CopySupport.py", line 317, in manage_afterAdd
self.reindexObject()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/Document/DeliveryLine.py", line 243, in reindexObject
self.recursiveReindexObject(*k, **kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1197, in recursiveReindexObject
serialization_tag=self.getRootDocumentPath(),
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Core/Folder.py", line 1222, in recursiveImmediateReindexObject
self.immediateReindexObject(**kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/Base.py", line 2805, in immediateReindexObject
PortalContent.reindexObject(self, *args, **kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Type/patches/CMFCatalogAware.py", line 36, in reindexObject
catalog.reindexObject(self, idxs=idxs, *args, **kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5Catalog/CatalogTool.py", line 830, in reindexObject
self.catalog_object(object, url, idxs=idxs, sql_catalog_id=sql_catalog_id,**kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 701, in catalog_object
self.catalogObjectList([obj], sql_catalog_id=sql_catalog_id)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/ZSQLCatalog.py", line 832, in catalogObjectList
catalog.catalogObjectList(wrapped_object_list, **kw)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1258, in catalogObjectList
idxs=idxs)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ZSQLCatalog/SQLCatalog.py", line 1370, in _catalogObjectList
'uid of %r changed from %r to %r as old one is assigned'
File "/usr/lib/erp5/lib/python/zLOG/__init__.py", line 134, in LOG
log_write(subsystem, severity, summary, detail, error)
File "/usr/lib/erp5/lib/python/Products/CMFCore/tests/base/testcase.py", line 44, in log_write
assert 0, "%s(%s): %s" % (subsystem, severity, summary)
AssertionError: SQLCatalog(200): uid of <Products.ERP5Catalog.CatalogTool.IndexableObjectWrapper for /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/1/1> changed from 104L to 104L as old one is assigned to /erp5_portal_4939e1bc5bb8b512faa8dd8f5ee3468e/purchase_order_module/1 in catalog !!! This can be fatal.
FAIL: Check that all RamCache doesn't clear the same cache_dict
----------------------------------------------------------------------
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/Products/ERP5Type/tests/testCacheTool.py", line 320, in test_04_CheckConcurrentRamCacheDict
self.assert_(1.0 > calculation_time)
AssertionError
FAIL: test_report_view_sheet_per_report_section (testOOoStyle.TestODSStyle)
----------------------------------------------------------------------
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/ERP5OOo/tests/testOOoStyle.py", line 205, in test_report_view_sheet_per_report_section
self._validate(response.getBody())
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 76, in _validate
self.fail(''.join(error_list))
AssertionError: <string>:365:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-column-group, got table-row
<string>:365:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element table-row there
<string>:365:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-header-columns, got table-row
<string>:365:0:ERROR:RELAXNGV:RELAXNG_ERR_CONTENTVALID: Element table failed to validate content
<string>:544:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-column-group, got table-row
<string>:544:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element table-row there
<string>:544:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-header-columns, got table-row
<string>:544:0:ERROR:RELAXNGV:RELAXNG_ERR_CONTENTVALID: Element table failed to validate content
<string>:723:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-column-group, got table-row
<string>:723:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element table-row there
<string>:723:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-header-columns, got table-row
<string>:723:0:ERROR:RELAXNGV:RELAXNG_ERR_CONTENTVALID: Element table failed to validate content
FAIL: test_report_view_sheet_per_report_section (testOOoStyleWithFlare.TestODSStyle)
----------------------------------------------------------------------
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/ERP5OOo/tests/testOOoStyle.py", line 205, in test_report_view_sheet_per_report_section
self._validate(response.getBody())
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5OOo/tests/testOOoStyle.py", line 76, in _validate
self.fail(''.join(error_list))
AssertionError: <string>:365:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-column-group, got table-row
<string>:365:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element table-row there
<string>:365:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-header-columns, got table-row
<string>:365:0:ERROR:RELAXNGV:RELAXNG_ERR_CONTENTVALID: Element table failed to validate content
<string>:544:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-column-group, got table-row
<string>:544:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element table-row there
<string>:544:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-header-columns, got table-row
<string>:544:0:ERROR:RELAXNGV:RELAXNG_ERR_CONTENTVALID: Element table failed to validate content
<string>:723:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-column-group, got table-row
<string>:723:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMWRONG: Did not expect element table-row there
<string>:723:0:ERROR:RELAXNGV:RELAXNG_ERR_ELEMNAME: Expecting element table-header-columns, got table-row
<string>:723:0:ERROR:RELAXNGV:RELAXNG_ERR_CONTENTVALID: Element table failed to validate content
Loading Zope, please stand by ... done (1.067s)
Traceback (most recent call last):
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 475, in ?
main()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 463, in main
debug=debug)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 323, in runUnitTestList
suite = test_loader.loadTestsFromNames(test_list)
File "/usr/lib64/python2.4/unittest.py", line 556, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 191, in loadTestsFromName
return unittest.TestLoader.loadTestsFromName(self, name, module)
File "/usr/lib64/python2.4/unittest.py", line 535, in loadTestsFromName
return self.loadTestsFromModule(obj)
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/Products/ERP5Type/tests/runUnitTest.py", line 197, in loadTestsFromModule
return module.test_suite()
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 509, in test_suite
('erp5_core',) + TestXHTML.getBusinessTemplateList())
File "/home/buildbot/slave/parts/bot_broken_screen/full.ERP5/build/unit_test/Products/ERP5/tests/testXHTML.py", line 457, in addTestMethodDynamically
raise KeyError, "Can't find the business template: %s" % i
KeyError: "Can't find the business template: erp5_egov_catalog"
More information about the Erp5-report
mailing list