[Erp5-report] ERP5 r42132 : 4537 Tests, 22 Errors, 16 Failures, 238 Skips
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jan 7 23:41:24 CET 2011
Test Suite: ERP5
Revision: 42132
Result: FAIL
All tests: 4537
Failures: 16
Errors: 22
Skips: 238
The following tests failed:
testIngestion (1 failures, 4 skips)
test_09_Contribute (testIngestion.TestIngestion)
testLegacyTradeModelLine (6 failures, 14 errors)
test_01_OrderWithSimpleTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale), Full test case with quite simple linear use case
test_02_OrderWithComplexTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
test_01_OrderWithSimpleTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase), Full test case with quite simple linear use case
test_02_OrderWithComplexTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
test_usecase1 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
test_usecase2 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
test_usecase3 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
test_usecase4 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
test_usecase5 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
test_usecase1 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
test_usecase2 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
test_usecase3 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
test_usecase4 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
test_usecase5 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
test_01c_PackingListSplitBuildInvoiceBuild (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
test_tradeModelLineWithFixedPrice (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
test_01c_PackingListSplitBuildInvoiceBuild (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
test_tradeModelLineWithFixedPrice (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
testOOoConversionCache (1 failures, 4 errors)
test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)
test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
test_07_check_cache_key_is_escaped (testOOoConversionCache.TestDocumentConversionCache)
test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
testPayroll (2 failures, 4 errors)
test_AccountingLineGeneration (testPayroll.TestPayroll)
test_NetSalaryReport (testPayroll.TestPayroll)
test_PayrollTaxesReport (testPayroll.TestPayroll)
test_PayrollTaxesReportDifferentSalaryRange (testPayroll.TestPayroll)
test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
test_updatePaysheetAfterModelModification (testPayroll.TestPayroll), generate a paysheet using a model, modify the model by adding a new
testSpellChecking (1 failures)
test_spell_check_workflow_states (testSpellChecking.TestSpellChecking)
testSupply (3 failures)
testSupplyCellPropertyAndAccessor (testSupply.TestSaleSupply)
testSupplyCellPropertyAndAccessor (testSupply.TestPurchaseSupply)
testSupplyCellPropertyAndAccessor (testSupply.TestInternalSupply)
testTradeModelLine (1 failures)
test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)
testTradeModelLinePurchase (1 failures)
test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)
The following tests were at least partly skipped:
testAccountingRules (26 skips)
testAdvancedInvoicing (4 skips)
testBPMCore (12 skips)
testBPMEvaluation (40 skips)
done (7.062s)test_confirming (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
test_transition (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
test_transition_line_edit (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
test_transition_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
test_transition_split_line_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
test_transition_split_line_add_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
test_starting (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
test_transition (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
test_transition_line_edit (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
test_transition_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
test_transition_split_line_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
test_confirming (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
test_transition (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
test_transition_line_edit (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
test_transition_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
test_transition_split_line_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
test_transition_split_line_add_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
test_starting (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
test_transition (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
test_transition_line_edit (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
test_transition_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
test_transition_split_line_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
testBase (3 skips)
test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test must be rewritten once we know how to handle correctly templates'
testBusinessTemplate (3 skips)
testCRM (2 skips)
testConversionInSimulation (4 skips)
testDeliveryBuilderToSupportMultipleLines (2 skips)
testDivergenceTester (5 skips)
testDms (3 skips)
testDmsWithFlare (3 skips)
testDynamicClassGeneration (1 skips)
testERP5Base (1 skips)
testERP5Catalog (4 skips)
test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
testERP5Interfaces (9 skips)
testERP5Type (1 skips)
testERP5TypeInterfaces (1 skips)
testERP5Web (2 skips)
testFormPrintoutAsODT (1 skips)
test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'
testICal (1 skips)
testImmobilisation (2 skips)
testIngestion (4 skips)
testIngestionWithFlare (4 skips)
testInventoryAPI (2 skips)
testInvoice (7 skips)
testItem (13 skips)
testLegacyMRP (4 skips)
test_TransformationRule_expand_concurrent (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_expand_reexpand (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_getHeadProductionPathList (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationSourcingRule_expand (Products.ERP5.tests.testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
testLegacyProjectAndTask (1 skips)
testLegacySimulationInventoryAPI (2 skips)
testMRP (5 skips)
test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
testOpenOrder (2 skips)
testOrderBuilder (4 skips)
testPackingList (16 skips)
testPackingListRoundingPrecision (8 skips)
testPreferences (1 skips)
testProductionOrder (8 skips)
testProductionOrderApparel (6 skips)
testProductionPackingList (1 skips)
testProductionPackingListApparel (1 skips)
testProject (1 skips)
testProxyField (1 skips)
testReturnedSalePackingList (3 skips)
testSQLCachedWorklist (1 skips)
test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'
testSelectionTool (7 skips)
skipped 'Test to be written'
testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
skipped 'Test to be written'
testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
testTaskReportDivergence (4 skips)
testTemplate (1 skips)
testWebDavSupport (1 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 2362 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110107/457f6ff8/attachment-0001.diff>
-------------- next part --------------
FAIL: test_09_Contribute (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5OOo/tests/testIngestion.py", line 1268, in test_09_Contribute
self.playSequence(step_list)
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5OOo/tests/testIngestion.py", line 973, in playSequence
sequence_list.play(self)
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 115, in play
self._step_list[self._played_index] \
Current Sequence:
CleanUp
> ContributeFileListWithNoType
CleanUp
ContributeFileListWithType
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5OOo/tests/testIngestion.py", line 830, in stepContributeFileListWithNoType
self.contributeFileList(with_portal_type=False)
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5OOo/tests/testIngestion.py", line 338, in contributeFileList
self.assertEquals(document.getExternalProcessingState(), 'converted')
AssertionError: 'conversion_failed' != 'converted'
ERROR: test_01_OrderWithSimpleTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale), Full test case with quite simple linear use case
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 521, in test_01_OrderWithSimpleTaxedAndDiscountedLines
self.checkAggregatedAmountList(order)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 384, in checkAggregatedAmountList
check(line, line.getId())
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 380, in check
self.getAggregatedAmountDict(movement, **kw)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 190, in getAggregatedAmountDict
expected_amount = expected_amount_dict.pop(reference)
KeyError: 'discount'
ERROR: test_02_OrderWithComplexTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 772, in test_02_OrderWithComplexTaxedAndDiscountedLines
self.checkAggregatedAmountList(order)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 384, in checkAggregatedAmountList
check(line, line.getId())
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 380, in check
self.getAggregatedAmountDict(movement, **kw)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 190, in getAggregatedAmountDict
expected_amount = expected_amount_dict.pop(reference)
KeyError: 'total_dicount_2'
ERROR: test_01_OrderWithSimpleTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase), Full test case with quite simple linear use case
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 521, in test_01_OrderWithSimpleTaxedAndDiscountedLines
self.checkAggregatedAmountList(order)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 384, in checkAggregatedAmountList
check(line, line.getId())
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 380, in check
self.getAggregatedAmountDict(movement, **kw)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 190, in getAggregatedAmountDict
expected_amount = expected_amount_dict.pop(reference)
KeyError: 'discount'
ERROR: test_02_OrderWithComplexTaxedAndDiscountedLines (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 772, in test_02_OrderWithComplexTaxedAndDiscountedLines
self.checkAggregatedAmountList(order)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 384, in checkAggregatedAmountList
check(line, line.getId())
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 380, in check
self.getAggregatedAmountDict(movement, **kw)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 190, in getAggregatedAmountDict
expected_amount = expected_amount_dict.pop(reference)
KeyError: 'total_dicount_2'
ERROR: test_usecase1 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 204, in test_usecase1
VAT_AMOUNT=dict(total_price=405))
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 195, in getAggregatedAmountDict
for k, v in expected_amount.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'
ERROR: test_usecase2 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 260, in test_usecase2
VAT_AMOUNT=dict(total_price=550))
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 195, in getAggregatedAmountDict
for k, v in expected_amount.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'
ERROR: test_usecase3 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 320, in test_usecase3
VAT_AMOUNT=dict(total_price=550))
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 195, in getAggregatedAmountDict
for k, v in expected_amount.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'
ERROR: test_usecase4 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 380, in test_usecase4
VAT_AMOUNT=dict(total_price=300))
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 195, in getAggregatedAmountDict
for k, v in expected_amount.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'
ERROR: test_usecase5 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCaseSale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 456, in test_usecase5
VAT_AMOUNT=dict(total_price=600))
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 195, in getAggregatedAmountDict
for k, v in expected_amount.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'
ERROR: test_usecase1 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 204, in test_usecase1
VAT_AMOUNT=dict(total_price=405))
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 195, in getAggregatedAmountDict
for k, v in expected_amount.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'
ERROR: test_usecase2 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 260, in test_usecase2
VAT_AMOUNT=dict(total_price=550))
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 195, in getAggregatedAmountDict
for k, v in expected_amount.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'
ERROR: test_usecase3 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 320, in test_usecase3
VAT_AMOUNT=dict(total_price=550))
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 195, in getAggregatedAmountDict
for k, v in expected_amount.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'
ERROR: test_usecase4 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 380, in test_usecase4
VAT_AMOUNT=dict(total_price=300))
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 195, in getAggregatedAmountDict
for k, v in expected_amount.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'
ERROR: test_usecase5 (Products.ERP5.tests.testComplexTradeModelLineUseCase.TestComplexTradeModelLineUseCasePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testComplexTradeModelLineUseCase.py", line 456, in test_usecase5
VAT_AMOUNT=dict(total_price=600))
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 195, in getAggregatedAmountDict
for k, v in expected_amount.iteritems():
AttributeError: 'NoneType' object has no attribute 'iteritems'
FAIL: test_01c_PackingListSplitBuildInvoiceBuild (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 680, in test_01c_PackingListSplitBuildInvoiceBuild
self.processPackingListBuildInvoice(packing_list)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 331, in processPackingListBuildInvoice
self.checkTradeModelRuleSimulationExpand(packing_list)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5Legacy/tests/testLegacyTradeModelLine.py", line 146, in checkTradeModelRuleSimulationExpand
self.assertEqual({}, result_dict)
AssertionError: {} != {'discount': <Simulation Movement at /erp5_portal_0393a62e4371b0e9e8e3707f047ac555/portal_simulation/3/2/1/1/1/1/2/3>}
FAIL: test_tradeModelLineWithFixedPrice (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 792, in test_tradeModelLineWithFixedPrice
self.assertEqual([], order.getAggregatedAmountList())
AssertionError: [] != [<Temp Amount at /erp5_portal_0393a62e4371b0e9e8e3707f047ac555/sale_trade_condition_module_9_1>, <Temp Amount at /erp5_portal_0393a62e4371b0e9e8e3707f047ac555/sale_trade_condition_module_9_2>]
FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 1096, in test_tradeModelLineWithRounding
self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1
FAIL: test_01c_PackingListSplitBuildInvoiceBuild (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 680, in test_01c_PackingListSplitBuildInvoiceBuild
self.processPackingListBuildInvoice(packing_list)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 331, in processPackingListBuildInvoice
self.checkTradeModelRuleSimulationExpand(packing_list)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5Legacy/tests/testLegacyTradeModelLine.py", line 146, in checkTradeModelRuleSimulationExpand
self.assertEqual({}, result_dict)
AssertionError: {} != {'discount': <Simulation Movement at /erp5_portal_d08328230494c3b46faa6f7449e56966/portal_simulation/3/2/1/1/1/1/2/3>}
FAIL: test_tradeModelLineWithFixedPrice (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 792, in test_tradeModelLineWithFixedPrice
self.assertEqual([], order.getAggregatedAmountList())
AssertionError: [] != [<Temp Amount at /erp5_portal_d08328230494c3b46faa6f7449e56966/purchase_trade_condition_module_9_1>, <Temp Amount at /erp5_portal_d08328230494c3b46faa6f7449e56966/purchase_trade_condition_module_9_2>]
FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 1096, in test_tradeModelLineWithRounding
self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1
ERROR: test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5OOo/tests/testOOoConversionCache.py", line 94, in test_01_PersistentCacheConversion
document.convert(format=format)
File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5OOo/Document/OOoDocument.py", line 359, in _convert
mime, data = self._getConversionFromProxyServer(format)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5OOo/Document/OOoDocument.py", line 278, in _getConversionFromProxyServer
return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'
ERROR: test_02_VolatileCacheConversionOfTempObject (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5OOo/tests/testOOoConversionCache.py", line 131, in test_02_VolatileCacheConversionOfTempObject
document.convert(format=format)
File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5OOo/Document/OOoDocument.py", line 359, in _convert
mime, data = self._getConversionFromProxyServer(format)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5OOo/Document/OOoDocument.py", line 278, in _getConversionFromProxyServer
return response_dict['mime'], Pdata(dec(response_dict['data']))
KeyError: 'mime'
ERROR: test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 168, in run
self.tearDown()
File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 997, in tearDown
PortalTestCase.tearDown(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/base.py", line 102, in tearDown
self.beforeTearDown()
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5OOo/tests/testDms.py", line 160, in beforeTearDown
assert not activity_status
AssertionError
ERROR: test_07_check_cache_key_is_escaped (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5OOo/tests/testOOoConversionCache.py", line 298, in test_07_check_cache_key_is_escaped
document.convert(format='txt')
File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5/mixin/document.py", line 70, in convert
result = self._convert(format, **kw)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5OOo/Document/OOoDocument.py", line 298, in _convert
raise NotConvertedError()
NotConvertedError
FAIL: test_04_PersistentCacheConversionWithFlare (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.2/Products/ERP5OOo/tests/testOOoConversionCache.py", line 210, in test_04_PersistentCacheConversionWithFlare
'Cache Storage failed for %s' % (format))
AssertionError: Cache Storage failed for txt
ERROR: test_AccountingLineGeneration (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 3315, in test_AccountingLineGeneration
self.stepTic()
File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1018, in stepTic
self.tic()
File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_7b7a3575330a52ab2ff14077272db47e/accounting_module/1', 'expand', -2, 5)]
Last error message:
ValueError
No reference date is defined, probably due to missing Trade Model Path in Business Process
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 303, in __call__
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.Delivery, line 800, in expand
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.AppliedRule, line 112, in expand
Module Products.ERP5.mixin.rule, line 218, in expand
Module Products.ERP5.Document.SimulationMovement, line 289, in expand
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.AppliedRule, line 112, in expand
Module Products.ERP5.mixin.rule, line 215, in expand
Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
Module Products.ERP5.Document.BusinessProcess, line 707, in getTradePhaseMovementList
Module Products.ERP5.Document.BusinessProcess, line 805, in _getPropertyAndCategoryDict
Module Products.ERP5.Document.BusinessProcess, line 198, in getExpectedTradeModelPathStartAndStopDate
Module Products.ERP5.ExplanationCache, line 352, in getReferenceDate
Module Products.ERP5.Document.BusinessProcess, line 198, in getExpectedTradeModelPathStartAndStopDate
Module Products.ERP5.ExplanationCache, line 322, in getReferenceDate
ValueError: No reference date is defined, probably due to missing Trade Model Path in Business Process
ERROR: test_NetSalaryReport (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 2965, in test_NetSalaryReport
self.stepTic()
File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1018, in stepTic
self.tic()
File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_7b7a3575330a52ab2ff14077272db47e/accounting_module/2', 'expand', -2, 5)]
Last error message:
ValueError
No reference date is defined, probably due to missing Trade Model Path in Business Process
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 303, in __call__
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.Delivery, line 800, in expand
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.AppliedRule, line 112, in expand
Module Products.ERP5.mixin.rule, line 218, in expand
Module Products.ERP5.Document.SimulationMovement, line 289, in expand
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.AppliedRule, line 112, in expand
Module Products.ERP5.mixin.rule, line 215, in expand
Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
Module Products.ERP5.Document.BusinessProcess, line 707, in getTradePhaseMovementList
Module Products.ERP5.Document.BusinessProcess, line 805, in _getPropertyAndCategoryDict
Module Products.ERP5.Document.BusinessProcess, line 198, in getExpectedTradeModelPathStartAndStopDate
Module Products.ERP5.ExplanationCache, line 352, in getReferenceDate
Module Products.ERP5.Document.BusinessProcess, line 198, in getExpectedTradeModelPathStartAndStopDate
Module Products.ERP5.ExplanationCache, line 322, in getReferenceDate
ValueError: No reference date is defined, probably due to missing Trade Model Path in Business Process
ERROR: test_PayrollTaxesReport (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 2562, in test_PayrollTaxesReport
self.stepTic()
File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1018, in stepTic
self.tic()
File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_7b7a3575330a52ab2ff14077272db47e/accounting_module/5', 'expand', -2, 5)]
Last error message:
ValueError
A Business Process can not erase amounts
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 303, in __call__
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.Delivery, line 800, in expand
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.AppliedRule, line 112, in expand
Module Products.ERP5.mixin.rule, line 215, in expand
Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
Module Products.ERP5.Document.BusinessProcess, line 727, in getTradePhaseMovementList
ValueError: A Business Process can not erase amounts
ERROR: test_PayrollTaxesReportDifferentSalaryRange (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 2764, in test_PayrollTaxesReportDifferentSalaryRange
self.stepTic()
File "/home/buildbot/slave/full.ERP5/build/unit_test.1/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1018, in stepTic
self.tic()
File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 173, in tic
raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_7b7a3575330a52ab2ff14077272db47e/accounting_module/7', 'expand', -2, 5)]
Last error message:
ValueError
No reference date is defined, probably due to missing Trade Model Path in Business Process
Traceback (innermost last):
Module Products.CMFActivity.ActivityTool, line 303, in __call__
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.Delivery, line 800, in expand
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.AppliedRule, line 112, in expand
Module Products.ERP5.mixin.rule, line 218, in expand
Module Products.ERP5.Document.SimulationMovement, line 289, in expand
Module Products.ERP5Type.UnrestrictedMethod, line 71, in <lambda>
Module Products.ERP5Type.UnrestrictedMethod, line 104, in unrestricted_apply
Module Products.ERP5.Document.AppliedRule, line 112, in expand
Module Products.ERP5.mixin.rule, line 215, in expand
Module Products.ERP5.mixin.movement_collection_updater, line 159, in updateMovementCollection
Module Products.ERP5.mixin.movement_collection_updater, line 69, in getMovementCollectionDiff
Module Products.ERP5.mixin.rule, line 117, in getGeneratedMovementList
Module Products.ERP5.Document.BusinessProcess, line 707, in getTradePhaseMovementList
Module Products.ERP5.Document.BusinessProcess, line 805, in _getPropertyAndCategoryDict
Module Products.ERP5.Document.BusinessProcess, line 198, in getExpectedTradeModelPathStartAndStopDate
Module Products.ERP5.ExplanationCache, line 352, in getReferenceDate
Module Products.ERP5.Document.BusinessProcess, line 198, in getExpectedTradeModelPathStartAndStopDate
Module Products.ERP5.ExplanationCache, line 322, in getReferenceDate
ValueError: No reference date is defined, probably due to missing Trade Model Path in Business Process
FAIL: test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 2242, in test_sourceSectionIsSetOnMovements
sequence_list.play(self)
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 115, in play
self._step_list[self._played_index] \
Current Sequence:
CreateUrssafService
CreateLabourService
CreateEmployer
CreateEmployee
CreatePriceCurrency
CreateBasicModel
Tic
ModelCreateUrssafModelLine
UrssafModelLineCreateMovements
CreateBasicPaysheet
PaysheetCreateLabourPaySheetLine
Tic
CreateBusinessProcess
CreateBusinessLink
CreateUrssafRoubaixOrganisation
ModifyBusinessLinkTradePhase
ModelSpecialiseBusinessProcess
Tic
PaysheetApplyTransformation
Tic
> CheckSourceSectionOnMovements
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 1056, in stepCheckSourceSectionOnMovements
self.assertEquals(paysheet_line.getSourceSectionValue(), urssaf_roubaix)
AssertionError: <Person at /erp5_portal_7b7a3575330a52ab2ff14077272db47e/person_module/22> != <Organisation at /erp5_portal_7b7a3575330a52ab2ff14077272db47e/organisation_module/43>
FAIL: test_updatePaysheetAfterModelModification (testPayroll.TestPayroll), generate a paysheet using a model, modify the model by adding a new
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 3522, in test_updatePaysheetAfterModelModification
sequence_list.play(self)
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 195, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 115, in play
self._step_list[self._played_index] \
Current Sequence:
CreateUrssafService
CreateLabourService
CreateEmployer
CreateEmployee
CreatePriceCurrency
CreateModelWithSlices
Tic
ModelCreateUrssafModelLine
UrssafModelLineCreateMovements
CreateBasicPaysheet
PaysheetCreateLabourPaySheetLine
Tic
CreateBusinessProcess
CreateBusinessLink
CreateUrssafRoubaixOrganisation
ModifyBusinessLinkTradePhase
ModelSpecialiseBusinessProcess
Tic
CheckUpdateAggregatedAmountListReturn
PaysheetApplyTransformation
Tic
CheckPaysheetLineAreCreated
CheckPaysheetLineAmounts
CheckUpdateAggregatedAmountListReturnNothing
CheckPaysheetLineAmounts
ModelCreateUrssafModelLineWithSlices
Tic
UrssafModelLineWithSlicesCreateMovements
Tic
PaysheetApplyTransformation
Tic
CheckPaysheetLineAreCreatedAfterUpdateWithLinesWithSameResource
> CheckPaysheetLineAmountsAfterUpdateWithLinesWithSameResource
CheckUpdateAggregatedAmountListReturnNothing
CheckPaysheetLineAmountsAfterUpdateWithLinesWithSameResource
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5Type/tests/Sequence.py", line 98, in play
method(sequence=sequence)
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testPayroll.py", line 918, in stepCheckPaysheetLineAmountsAfterUpdateWithLinesWithSameResource
self.assertEquals(cell1.getQuantity(), 200)
AssertionError: 3200.0 != 200
FAIL: test_spell_check_workflow_states (testSpellChecking.TestSpellChecking)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.5/Products/ERP5/tests/testSpellChecking.py", line 178, in test_spell_check_workflow_states
self.fail('\n'.join(error_list))
AssertionError: State id: modeling,
Workflow: apparel_model_workflow
Suggestions: "modeling" is misspelled, suggestion are : "mode ling, mode-ling, modelling, middling, Madelin, Madelina, Madeline, meddling, mottling, muddling, modellings, Madelon, Medellin, Madlin, noddling, yodelling, Madelaine, Madeleine, modding, moiling, codling, Madelyn, coddling, toddling, Madelena, Madelene, modelling's, Madelin's"
State title: Modeling,
Workflow: apparel_model_workflow
Suggestions: "Modeling" is misspelled, suggestion are : "Mode ling, Mode-ling, Modelling, Middling, Madelin, Madelina, Madeline, Meddling, Mottling, Muddling, Modellings, Madelon, Medellin, Madlin, Noddling, Yodelling, Madelaine, Madeleine, Modding, Moiling, Codling, Madelyn, Coddling, Toddling, Madelena, Madelene, Modelling's, Madelin's"
FAIL: testSupplyCellPropertyAndAccessor (testSupply.TestSaleSupply)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testSupply.py", line 331, in testSupplyCellPropertyAndAccessor
self.assertEqual(supply_cell.getDestinationReference(), 'banana')
AssertionError: 'orange' != 'banana'
FAIL: testSupplyCellPropertyAndAccessor (testSupply.TestPurchaseSupply)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testSupply.py", line 331, in testSupplyCellPropertyAndAccessor
self.assertEqual(supply_cell.getDestinationReference(), 'banana')
AssertionError: 'orange' != 'banana'
FAIL: testSupplyCellPropertyAndAccessor (testSupply.TestInternalSupply)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.4/Products/ERP5/tests/testSupply.py", line 331, in testSupplyCellPropertyAndAccessor
self.assertEqual(supply_cell.getDestinationReference(), 'banana')
AssertionError: 'orange' != 'banana'
FAIL: test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 1096, in test_tradeModelLineWithRounding
self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1
FAIL: test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/slave/full.ERP5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
testMethod()
File "/home/buildbot/slave/full.ERP5/build/unit_test.6/Products/ERP5/tests/testTradeModelLine.py", line 1096, in test_tradeModelLineWithRounding
self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1
More information about the Erp5-report
mailing list