[Erp5-report] ERP5_z28 r20588: 1822 Tests, 5 Errors, 39 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 17 03:00:51 CEST 2008
Test Suite: ERP5_z28
Revision: 20588
Result: FAIL
All tests: 1822
Failures: 39
Errors: 5
The following tests failed:
testAccountingRules (10 failures)
Simple Invoice.
Same test as SimpleInvoice but directly confirm the invoice
Simple Invoice, 2 lines.
Simple Invoice, 2 cells.
Add a new line then updateAppliedRule.
Tests that editing a line updates simulation correctly
Tests that removing a line updates simulation correctly
Tests that replacing a line by cells updates simulation correctly
Tests that updating an applied rule many times doesn't break the
Multiple lines invoice.
testInvoice (9 failures)
test_02_TwoInvoicesFromTwoPackingList (testInvoice.TestInvoice)
test_10_AcceptDecisionOnPackingList (testInvoice.TestInvoice)
test_11_AcceptDecisionOnPackingListAndInvoice (testInvoice.TestInvoice)
test_12_SplitPackingListAndAcceptInvoice (testInvoice.TestInvoice)
test_13_SplitAndDeferInvoice (testInvoice.TestInvoice)
test_14_AcceptDecisionOnInvoice (testInvoice.TestInvoice)
test_16_ManuallyAddedMovements (testInvoice.TestInvoice)
test_17_ManuallyAddedWrongMovements (testInvoice.TestInvoice)
test_invoice_transaction_line_resource (testInvoice.TestInvoice)
testInvoiceVAT (4 failures)
Test VAT for an invoice that cames from a packing list with two
Test VAT for an invoice that cames from a packing list with two
Test VAT for a simple invoice created directly.
Test VAT for a simple invoice created directly; empty lines should not
testGadgets (2 errors)
Check that it's properly initialized
Check Gadgets
testTradeCondition (14 failures)
test_apply_trade_condition_copy_subobjects_with_hierarchy (testTradeCondition.TestApplyTradeConditionSaleOrder)
test_apply_trade_condition_copy_subobjects_with_hierarchy (testTradeCondition.TestApplyTradeConditionPurchaseOrder)
test_2_tax_lines_simulation (testTradeCondition.TestTaxLineOrderSimulationSaleOrder)
test_tax_line_build (testTradeCondition.TestTaxLineOrderSimulationSaleOrder)
test_tax_line_merged_build (testTradeCondition.TestTaxLineOrderSimulationSaleOrder)
test_tax_line_simulation (testTradeCondition.TestTaxLineOrderSimulationSaleOrder)
test_tax_line_updated_on_invoice_line_change (testTradeCondition.TestTaxLineOrderSimulationSaleOrder)
test_2_tax_lines_simulation (testTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
test_tax_line_build (testTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
test_tax_line_merged_build (testTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
test_tax_line_simulation (testTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
test_tax_line_updated_on_invoice_line_change (testTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
test_tax_line_simulation (testTradeCondition.TestTaxLineInvoiceSimulationPurchaseInvoice)
test_tax_line_simulation (testTradeCondition.TestTaxLineInvoiceSimulationSaleInvoice)
testGUIwithSecurity (1 errors)
test_01_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)
testERP5Catalog (2 failures)
test_SearchedStringIsNotStripped (testERP5Catalog.TestERP5Catalog)
test_complex_query (testERP5Catalog.TestERP5Catalog)
testERP5LdapCatalog (2 errors)
test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)
-------------- next part --------------
FAIL: Simple Invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1448, in test_04_SimpleInvoice
self.playSequence("""
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
CreateNotebookFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateSimpleSaleInvoice
PlanInvoice
Tic
CheckFirstRuleIsApplied
CheckPaymentRuleIsApplied
ConfirmInvoice
Tic
> CheckAccountingLinesCoherantWithSimulation
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1213, in stepCheckAccountingLinesCoherantWithSimulation
len(simulation_movement_list))
AssertionError: 0 != 3
FAIL: Same test as SimpleInvoice but directly confirm the invoice
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1480, in test_04b_SimpleInvoiceConfirm
self.playSequence("""
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
CreateNotebookFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateSimpleSaleInvoice
ConfirmInvoice
Tic
> CheckAccountingLinesCreatedForSimpleInvoice
RebuildAndCheckNothingIsCreated
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1262, in stepCheckAccountingLinesCreatedForSimpleInvoice
self.assertEquals(len(invoice_transaction_line_list), 3)
AssertionError: 0 != 3
FAIL: Simple Invoice, 2 lines.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1511, in test_04c_SimpleInvoiceTwoLines
self.playSequence("""
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
CreateNotebookFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateSimpleSaleInvoiceTwoLines
ConfirmInvoice
Tic
> CheckAccountingLinesCreatedForSimpleInvoice
RebuildAndCheckNothingIsCreated
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1262, in stepCheckAccountingLinesCreatedForSimpleInvoice
self.assertEquals(len(invoice_transaction_line_list), 3)
AssertionError: 0 != 3
FAIL: Simple Invoice, 2 cells.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1542, in test_04d_SimpleInvoiceTwoCells
self.playSequence("""
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
CreateNotebookFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateSimpleSaleInvoiceTwoCells
ConfirmInvoice
Tic
> CheckAccountingLinesCreatedForSimpleInvoice
RebuildAndCheckNothingIsCreated
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1262, in stepCheckAccountingLinesCreatedForSimpleInvoice
self.assertEquals(len(invoice_transaction_line_list), 3)
AssertionError: 0 != 3
FAIL: Add a new line then updateAppliedRule.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1576, in test_05a_SimpleInvoiceReExpandAddLine
self.playSequence("""
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
CreateNotebookFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateEmptyInvoice
PlanInvoice
Tic
AddInvoiceLine
ConfirmInvoice
Tic
> CheckAccountingLinesCreatedForSimpleInvoice
RebuildAndCheckNothingIsCreated
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1262, in stepCheckAccountingLinesCreatedForSimpleInvoice
self.assertEquals(len(invoice_transaction_line_list), 3)
AssertionError: 0 != 3
FAIL: Tests that editing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1608, in test_05b_SimpleInvoiceReExpandEditLine
self.playSequence("""
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
CreateNotebookFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateOtherSimpleSaleInvoice
PlanInvoice
Tic
EditInvoiceLine
ConfirmInvoice
Tic
> CheckAccountingLinesCreatedForSimpleInvoice
RebuildAndCheckNothingIsCreated
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1262, in stepCheckAccountingLinesCreatedForSimpleInvoice
self.assertEquals(len(invoice_transaction_line_list), 3)
AssertionError: 0 != 3
FAIL: Tests that removing a line updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1640, in test_05c_SimpleInvoiceReExpandDeleteLine
self.playSequence("""
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
CreateNotebookFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateSimpleSaleInvoice
AddInvoiceLine
PlanInvoice
Tic
DeleteInvoiceLine
Tic
ConfirmInvoice
Tic
> CheckAccountingLinesCreatedForSimpleInvoice
RebuildAndCheckNothingIsCreated
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1262, in stepCheckAccountingLinesCreatedForSimpleInvoice
self.assertEquals(len(invoice_transaction_line_list), 3)
AssertionError: 0 != 3
FAIL: Tests that replacing a line by cells updates simulation correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1674, in test_05d_SimpleInvoiceReExpandCreateCell
self.playSequence("""
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
CreateNotebookFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateOtherSimpleSaleInvoice
PlanInvoice
Tic
AddCellsInInvoiceLine
ConfirmInvoice
Tic
> CheckAccountingLinesCreatedForSimpleInvoice
RebuildAndCheckNothingIsCreated
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1262, in stepCheckAccountingLinesCreatedForSimpleInvoice
self.assertEquals(len(invoice_transaction_line_list), 3)
AssertionError: 0 != 3
FAIL: Tests that updating an applied rule many times doesn't break the
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1731, in test_05e_SimpleInvoiceExpandManyTimes
""", quiet=quiet )
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
CreateNotebookFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateSimpleSaleInvoice
PlanInvoice
Tic
EditInvoiceLine
UpdateAppliedRule
Tic
EditInvoiceLine
UpdateAppliedRule
Tic
EditInvoiceLine
UpdateAppliedRule
Tic
EditInvoiceLine
UpdateAppliedRule
Tic
ConfirmInvoice
Tic
> CheckAccountingLinesCreatedForSimpleInvoice
RebuildAndCheckNothingIsCreated
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1262, in stepCheckAccountingLinesCreatedForSimpleInvoice
self.assertEquals(len(invoice_transaction_line_list), 3)
AssertionError: 0 != 3
FAIL: Multiple lines invoice.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1745, in test_06_MultiLineInvoice
self.playSequence("""
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateAccounts
CreateEntities
CreateCurrencies
CreateProducts
CreateSaleInvoiceTransactionRule
Tic
UpdateSaleInvoiceTransactionRuleMatrix
ValidateSaleInvoiceTransaction
Tic
CreateNotebookFranceCell
CreateBareboneFranceCell
Tic
ClearSimulation
ClearAccountingModule
CreateMultiLineSaleInvoice
PlanInvoice
ConfirmInvoice
Tic
> CheckAccountingLinesCreatedForMultiLineInvoice
RebuildAndCheckNothingIsCreated
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 1306, in stepCheckAccountingLinesCreatedForMultiLineInvoice
self.assertEquals(len(invoice_transaction_line_list), 4)
AssertionError: 0 != 4
FAIL: test_02_TwoInvoicesFromTwoPackingList (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1201, in test_02_TwoInvoicesFromTwoPackingList
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateEntities
CreateCurrency
CreateSaleInvoiceTransactionRule
CreateOrder
SetOrderProfile
SetOrderPriceCurrency
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
CheckDeliveryBuilding
ConfirmOrder
Tic
CheckOrderRule
CheckOrderSimulation
CheckDeliveryBuilding
DecreasePackingListLineQuantity
CheckPackingListIsCalculating
SplitAndDeferPackingList
Tic
CheckPackingListIsSolved
CheckPackingListSplitted
AddPackingListContainer
AddPackingListContainerLine
SetContainerLineFullQuantity
Tic
CheckPackingListIsPacked
DefineNewPackingListContainer
Tic
CheckNewPackingListIsPacked
SetReadyPackingList
SetReadyNewPackingList
Tic
StartPackingList
StartNewPackingList
Tic
CheckTwoInvoices
RemoveDateMovementGroupForTransactionBuilder
ConfirmTwoInvoices
Tic
> CheckTwoInvoicesTransactionLines
CheckInvoicesConsistency
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 654, in stepCheckTwoInvoicesTransactionLines
self.assertEquals(3,len(invoice.objectValues(
AssertionError: 3 != 0
FAIL: test_10_AcceptDecisionOnPackingList (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1512, in test_10_AcceptDecisionOnPackingList
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateEntities
CreateCurrency
CreateSaleInvoiceTransactionRule
CreateOrder
SetOrderProfile
SetOrderPriceCurrency
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
CheckDeliveryBuilding
ConfirmOrder
Tic
CheckOrderRule
CheckOrderSimulation
CheckDeliveryBuilding
AddPackingListContainer
AddPackingListContainerLine
SetContainerLineFullQuantity
Tic
CheckPackingListIsPacked
CheckInvoicingRule
DecreasePackingListLineQuantity
SetContainerFullQuantity
CheckPackingListIsCalculating
AcceptDecisionPackingList
Tic
CheckPackingListIsSolved
CheckPackingListNotSplitted
SetReadyPackingList
Tic
StartPackingList
CheckInvoicingRule
CheckInvoiceTransactionRule
Tic
CheckInvoiceBuilding
StopPackingList
Tic
DeliverPackingList
Tic
CheckPackingListIsNotDivergent
CheckPackingListIsSolved
CheckInvoiceTransactionRule
ConfirmInvoice
Tic
StopInvoice
Tic
DeliverInvoice
Tic
CheckInvoiceNotSplitted
CheckInvoiceIsNotDivergent
CheckInvoiceIsSolved
RebuildAndCheckNothingIsCreated
> CheckInvoicesConsistency
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 541, in stepCheckInvoicesConsistency
self.assertEquals(3, len(invoice_transaction_line_list))
AssertionError: 3 != 0
FAIL: test_11_AcceptDecisionOnPackingListAndInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1594, in test_11_AcceptDecisionOnPackingListAndInvoice
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateEntities
CreateCurrency
CreateSaleInvoiceTransactionRule
CreateOrder
SetOrderProfile
SetOrderPriceCurrency
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
CheckDeliveryBuilding
ConfirmOrder
Tic
CheckOrderRule
CheckOrderSimulation
CheckDeliveryBuilding
AddPackingListContainer
AddPackingListContainerLine
SetContainerLineFullQuantity
Tic
CheckPackingListIsPacked
CheckInvoicingRule
DecreasePackingListLineQuantity
SetContainerFullQuantity
CheckPackingListIsCalculating
AcceptDecisionPackingList
Tic
CheckPackingListIsSolved
CheckPackingListNotSplitted
SetReadyPackingList
Tic
StartPackingList
CheckInvoicingRule
CheckInvoiceTransactionRule
Tic
CheckInvoiceBuilding
StopPackingList
Tic
DeliverPackingList
Tic
CheckPackingListIsNotDivergent
CheckPackingListIsSolved
CheckInvoiceTransactionRule
IncreaseInvoiceLineQuantity
Tic
CheckInvoiceIsDiverged
AcceptDecisionInvoice
Tic
ConfirmInvoice
Tic
StopInvoice
Tic
DeliverInvoice
Tic
CheckPackingListIsNotDivergent
CheckPackingListIsSolved
CheckInvoiceTransactionRule
CheckInvoiceNotSplitted
CheckInvoiceIsNotDivergent
CheckInvoiceIsSolved
RebuildAndCheckNothingIsCreated
> CheckInvoicesConsistency
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 541, in stepCheckInvoicesConsistency
self.assertEquals(3, len(invoice_transaction_line_list))
AssertionError: 3 != 0
FAIL: test_12_SplitPackingListAndAcceptInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1702, in test_12_SplitPackingListAndAcceptInvoice
self.playSequence(sequence, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateEntities
CreateCurrency
CreateSaleInvoiceTransactionRule
CreateOrder
SetOrderProfile
SetOrderPriceCurrency
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
CheckDeliveryBuilding
ConfirmOrder
Tic
CheckOrderRule
CheckOrderSimulation
CheckDeliveryBuilding
AddPackingListContainer
AddPackingListContainerLine
SetContainerLineFullQuantity
Tic
CheckPackingListIsPacked
CheckInvoicingRule
DecreasePackingListLineQuantity
SetContainerFullQuantity
CheckPackingListIsCalculating
SplitAndDeferPackingList
Tic
CheckPackingListIsSolved
CheckPackingListSplitted
SetReadyPackingList
Tic
StartPackingList
CheckInvoicingRule
CheckInvoiceTransactionRule
Tic
CheckInvoiceBuilding
StopPackingList
Tic
DeliverPackingList
Tic
CheckPackingListIsSolved
CheckPackingListSplitted
IncreaseInvoiceLineQuantity
CheckInvoiceIsCalculating
AcceptDecisionInvoice
Tic
ConfirmInvoice
Tic
StopInvoice
Tic
DeliverInvoice
Tic
CheckInvoiceIsSolved
CheckInvoiceNotSplitted
CheckPackingListIsNotDivergent
CheckPackingListIsSolved
CheckInvoiceTransactionRule
RebuildAndCheckNothingIsCreated
> CheckInvoicesConsistency
SwitchPackingLists
AddPackingListContainer
SetContainerFullQuantity
Tic
CheckPackingListIsSolved
SetReadyPackingList
Tic
StartPackingList
CheckInvoicingRule
CheckInvoiceTransactionRule
Tic
CheckInvoiceBuilding
StopPackingList
Tic
DeliverPackingList
Tic
CheckPackingListIsSolved
SetInvoiceLineQuantityToZero
CheckInvoiceIsCalculating
AcceptDecisionInvoice
Tic
ConfirmInvoice
Tic
StopInvoice
Tic
DeliverInvoice
Tic
CheckInvoiceIsSolved
CheckInvoiceNotSplitted
CheckPackingListIsNotDivergent
CheckPackingListIsSolved
CheckInvoiceTransactionRule
RebuildAndCheckNothingIsCreated
CheckInvoicesConsistency
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 541, in stepCheckInvoicesConsistency
self.assertEquals(3, len(invoice_transaction_line_list))
AssertionError: 3 != 0
FAIL: test_13_SplitAndDeferInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1771, in test_13_SplitAndDeferInvoice
self.playSequence(sequence, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 102, in playSequence
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateEntities
CreateCurrency
CreateSaleInvoiceTransactionRule
CreateOrder
SetOrderProfile
SetOrderPriceCurrency
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
CheckDeliveryBuilding
ConfirmOrder
Tic
CheckOrderRule
CheckOrderSimulation
CheckDeliveryBuilding
AddPackingListContainer
AddPackingListContainerLine
SetContainerLineFullQuantity
Tic
CheckPackingListIsPacked
SetReadyPackingList
Tic
StartPackingList
CheckInvoicingRule
CheckInvoiceTransactionRule
Tic
CheckInvoiceBuilding
StopPackingList
Tic
DeliverPackingList
Tic
CheckPackingListIsSolved
CheckPackingListNotSplitted
DecreaseInvoiceLineQuantity
CheckInvoiceIsDivergent
CheckInvoiceIsCalculating
SplitAndDeferInvoice
Tic
ConfirmInvoice
Tic
StopInvoice
Tic
DeliverInvoice
Tic
CheckInvoiceIsNotDivergent
CheckInvoiceIsSolved
CheckInvoiceSplitted
RebuildAndCheckNothingIsCreated
> CheckInvoicesConsistency
CheckPackingListIsNotDivergent
CheckPackingListIsSolved
CheckInvoiceTransactionRule
SwitchInvoices
ConfirmInvoice
Tic
StopInvoice
Tic
DeliverInvoice
Tic
CheckInvoiceIsNotDivergent
CheckInvoiceIsSolved
RebuildAndCheckNothingIsCreated
CheckInvoicesConsistency
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 541, in stepCheckInvoicesConsistency
self.assertEquals(3, len(invoice_transaction_line_list))
AssertionError: 3 != 0
FAIL: test_14_AcceptDecisionOnInvoice (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1837, in test_14_AcceptDecisionOnInvoice
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateEntities
CreateCurrency
CreateSaleInvoiceTransactionRule
CreateOrder
SetOrderProfile
SetOrderPriceCurrency
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
CheckDeliveryBuilding
ConfirmOrder
Tic
CheckOrderRule
CheckOrderSimulation
CheckDeliveryBuilding
AddPackingListContainer
AddPackingListContainerLine
SetContainerLineFullQuantity
Tic
CheckPackingListIsPacked
SetReadyPackingList
Tic
StartPackingList
CheckInvoicingRule
CheckInvoiceTransactionRule
Tic
CheckInvoiceBuilding
StopPackingList
Tic
DeliverPackingList
Tic
CheckPackingListIsSolved
CheckPackingListNotSplitted
DecreaseInvoiceLineQuantity
CheckInvoiceIsDivergent
CheckInvoiceIsCalculating
AcceptDecisionInvoice
Tic
ConfirmInvoice
Tic
StopInvoice
Tic
DeliverInvoice
Tic
CheckPackingListIsNotDivergent
CheckPackingListIsSolved
CheckInvoiceTransactionRule
CheckInvoiceNotSplitted
CheckInvoiceIsNotDivergent
CheckInvoiceIsSolved
RebuildAndCheckNothingIsCreated
> CheckInvoicesConsistency
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 541, in stepCheckInvoicesConsistency
self.assertEquals(3, len(invoice_transaction_line_list))
AssertionError: 3 != 0
FAIL: test_16_ManuallyAddedMovements (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1912, in test_16_ManuallyAddedMovements
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateEntities
CreateCurrency
CreateSaleInvoiceTransactionRule
CreateOrder
SetOrderProfile
SetOrderPriceCurrency
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
CheckDeliveryBuilding
ConfirmOrder
Tic
CheckOrderRule
CheckOrderSimulation
CheckDeliveryBuilding
AddPackingListContainer
AddPackingListContainerLine
SetContainerLineFullQuantity
Tic
CheckPackingListIsPacked
SetReadyPackingList
Tic
StartPackingList
CheckInvoicingRule
Tic
CheckInvoiceBuilding
RebuildAndCheckNothingIsCreated
> CheckInvoicesConsistency
AddInvoiceLines
Tic
ConfirmInvoice
Tic
CheckSimulationTrees
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 541, in stepCheckInvoicesConsistency
self.assertEquals(3, len(invoice_transaction_line_list))
AssertionError: 3 != 0
FAIL: test_17_ManuallyAddedWrongMovements (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1939, in test_17_ManuallyAddedWrongMovements
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateEntities
CreateCurrency
CreateSaleInvoiceTransactionRule
CreateOrder
SetOrderProfile
SetOrderPriceCurrency
CreateNotVariatedResource
Tic
CreateOrderLine
SetOrderLineResource
SetOrderLineDefaultValues
OrderOrder
Tic
CheckDeliveryBuilding
ConfirmOrder
Tic
CheckOrderRule
CheckOrderSimulation
CheckDeliveryBuilding
AddPackingListContainer
AddPackingListContainerLine
SetContainerLineFullQuantity
Tic
CheckPackingListIsPacked
SetReadyPackingList
Tic
StartPackingList
CheckInvoicingRule
Tic
CheckInvoiceBuilding
AddWrongInvoiceLines
Tic
ConfirmInvoice
> CheckConfirmInvoiceFails
CheckSimulationTrees
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 964, in stepCheckConfirmInvoiceFails
self.fail("Error: stepConfirmInvoice didn't fail, the builder script"
AssertionError: Error: stepConfirmInvoice didn't fail, the builder script InvoiceTransaction_postTransactionLineGeneration should have complained that accounting movements use multiple resources
FAIL: test_invoice_transaction_line_resource (testInvoice.TestInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoice.py", line 1976, in test_invoice_transaction_line_resource
invoice_transaction_movement.getPriceCurrency())
AssertionError: 'currency_module/EUR' != None
FAIL: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 474, in test_InvoiceTwoLinesWithSameResource
total_vat_amount)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 349, in _checkInvoiceVAT
portal_type=self.getPortal().getPortalAccountingMovementTypeList())), 0)
AssertionError: 0 == 0
FAIL: Test VAT for an invoice that cames from a packing list with two
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 506, in test_InvoiceTwoLinesWithSameResourceDifferentDate
total_vat_amount)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 349, in _checkInvoiceVAT
portal_type=self.getPortal().getPortalAccountingMovementTypeList())), 0)
AssertionError: 0 == 0
FAIL: Test VAT for a simple invoice created directly.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 382, in test_SimpleInvoice
total_vat_amount)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 349, in _checkInvoiceVAT
portal_type=self.getPortal().getPortalAccountingMovementTypeList())), 0)
AssertionError: 0 == 0
FAIL: Test VAT for a simple invoice created directly; empty lines should not
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 407, in test_SimpleInvoiceEmptyLines
total_vat_amount)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testInvoiceVAT.py", line 349, in _checkInvoiceVAT
portal_type=self.getPortal().getPortalAccountingMovementTypeList())), 0)
AssertionError: 0 == 0
ERROR: Check that it's properly initialized
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 669, in setUpERP5Site
bt = portal.portal_templates.download(url)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 383, in download
bt = self._download_local(name, id)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 333, in _download_local
return self._importBT(path, bt_id)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/Tool/TemplateTool.py", line 228, in _importBT
file = open(path, 'rb')
IOError: [Errno 2] No such file or directory: 'erp5_knowledge_pad.bt5'
ERROR: Check Gadgets
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 579, in setUpERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_0be623d901b481020c4c563a2b71b9cf already failed, giving up
FAIL: test_apply_trade_condition_copy_subobjects_with_hierarchy (testTradeCondition.TestApplyTradeConditionSaleOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 292, in test_apply_trade_condition_copy_subobjects_with_hierarchy
self.assertEquals('custom', self.order.getPaymentConditionTradeDate())
AssertionError: 'custom' != None
FAIL: test_apply_trade_condition_copy_subobjects_with_hierarchy (testTradeCondition.TestApplyTradeConditionPurchaseOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 292, in test_apply_trade_condition_copy_subobjects_with_hierarchy
self.assertEquals('custom', self.order.getPaymentConditionTradeDate())
AssertionError: 'custom' != None
FAIL: test_2_tax_lines_simulation (testTradeCondition.TestTaxLineOrderSimulationSaleOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 917, in test_2_tax_lines_simulation
self.assertEquals(1, len(applied_tax_rule_list))
AssertionError: 1 != 0
FAIL: test_tax_line_build (testTradeCondition.TestTaxLineOrderSimulationSaleOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 1003, in test_tax_line_build
self.assertEquals(1, len(tax_line_list))
AssertionError: 1 != 0
FAIL: test_tax_line_merged_build (testTradeCondition.TestTaxLineOrderSimulationSaleOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 1089, in test_tax_line_merged_build
self.assertEquals(1, len(tax_line_list))
AssertionError: 1 != 0
FAIL: test_tax_line_simulation (testTradeCondition.TestTaxLineOrderSimulationSaleOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 825, in test_tax_line_simulation
self.assertEquals(2, len(level2_applied_rule_list))
AssertionError: 2 != 1
FAIL: test_tax_line_updated_on_invoice_line_change (testTradeCondition.TestTaxLineOrderSimulationSaleOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 1150, in test_tax_line_updated_on_invoice_line_change
self.assertEquals(1, len(tax_line_list))
AssertionError: 1 != 0
FAIL: test_2_tax_lines_simulation (testTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 917, in test_2_tax_lines_simulation
self.assertEquals(1, len(applied_tax_rule_list))
AssertionError: 1 != 0
FAIL: test_tax_line_build (testTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 1003, in test_tax_line_build
self.assertEquals(1, len(tax_line_list))
AssertionError: 1 != 0
FAIL: test_tax_line_merged_build (testTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 1089, in test_tax_line_merged_build
self.assertEquals(1, len(tax_line_list))
AssertionError: 1 != 0
FAIL: test_tax_line_simulation (testTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 825, in test_tax_line_simulation
self.assertEquals(2, len(level2_applied_rule_list))
AssertionError: 2 != 1
FAIL: test_tax_line_updated_on_invoice_line_change (testTradeCondition.TestTaxLineOrderSimulationPurchaseOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 1150, in test_tax_line_updated_on_invoice_line_change
self.assertEquals(1, len(tax_line_list))
AssertionError: 1 != 0
FAIL: test_tax_line_simulation (testTradeCondition.TestTaxLineInvoiceSimulationPurchaseInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 1245, in test_tax_line_simulation
self.assertEquals(3, len(accounting_line_list))
AssertionError: 3 != 2
FAIL: test_tax_line_simulation (testTradeCondition.TestTaxLineInvoiceSimulationSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5/tests/testTradeCondition.py", line 1245, in test_tax_line_simulation
self.assertEquals(3, len(accounting_line_list))
AssertionError: 3 != 2
ERROR: test_01_relationFieldToInaccessibleObject (testGUIwithSecurity.TestGUISecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/tests/testGUIwithSecurity.py", line 158, in test_01_relationFieldToInaccessibleObject
sequence_list.play(self, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 166, in play
sequence.play(context, sequence_number=i, quiet=quiet)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
step.play(context, sequence=self, quiet=quiet)
Current Sequence:
CreateObjects
CreateTestFoo
Tic
AccessFoo
ChangeCategorySecurity
> AccessFoo
ResetCategorySecurity
AccessFoo
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 99, in play
method(sequence=sequence)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/tests/testGUIwithSecurity.py", line 99, in stepAccessFoo
self.getPortal().foo_module.foo.Foo_view()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 564, in __call__
return pt.pt_render(extra_context=extra_context)
File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
self.interpret(self.program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 690, in do_defineMacro
self.interpret(macro)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
self.interpret(macro)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
self.interpret(macro)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
self.interpret(macro)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
self.interpret(block)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
self.interpret(slot)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
self.interpret(slot)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
self.interpret(slot)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
self.interpret(macro)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 653, in do_loop_tal
self.interpret(block)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 677, in do_condition
self.interpret(block)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 653, in do_loop_tal
self.interpret(block)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
self.interpret(macro)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 677, in do_condition
self.interpret(block)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 477, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "field.render_htmlgrid(value, request)"", line 1, in <expression>
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/FormulatorPatch.py", line 1430, in Field_render_htmlgrid
value = self._get_default(widget_key, value, REQUEST)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 312, in _get_default
return self.get_value('default', REQUEST=REQUEST) # It was missing on Formulator
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/RelationField.py", line 179, in get_value
result = ZMIField.get_value(self, id, REQUEST=REQUEST, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 293, in get_value
return value(field, id, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Form/Form.py", line 202, in __call__
value = ob.getProperty(self.key)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1338, in getProperty
return method(**kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Accessor/Value.py", line 203, in __call__
o = instance._getDefaultAcquiredValue(self._key, **kw)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/Base.py", line 1998, in _getDefaultAcquiredValue
return self._getCategoryTool().resolveCategory(path)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFCategory/CategoryTool.py", line 1651, in resolveCategory
obj = restrictedGetOb(container, key)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/CMFCategory/CategoryTool.py", line 1631, in restrictedGetOb
if not validate(container, container, key, obj):
Unauthorized: You are not allowed to access 'a' in this context
FAIL: test_SearchedStringIsNotStripped (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2629, in test_SearchedStringIsNotStripped
compareSet(' foo', [second_doc])
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2627, in compareSet
self.assertSameSet(document_list, [x.getObject() for x in result])
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 536, in failIfDifferentSet
self.failUnless(i in b, msg)
AssertionError: [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/83>] != [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/82>]
FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2175, in test_complex_query
self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3
ERROR: test_01_HasEverything (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 723, in setUpERP5Site
raise RuntimeError, \
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_a28a575dea15f29ef51928ed670935d0/portal_catalog', 'unindexObject', -2, 6), ('/erp5_portal_a28a575dea15f29ef51928ed670935d0/portal_catalog', 'unindexObject', -2, 6)]
ERROR: test_02_person_ldap_cataloging (testERP5LdapCatalog.TestERP5LdapCatalog)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 359, in setUp
erp5_catalog_storage=erp5_catalog_storage)
File "/home/buildbot/buildbot_slave/full.bot_28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 579, in setUpERP5Site
raise RuntimeError, 'Installation of %s already failed, giving up'\
RuntimeError: Installation of erp5_portal_a28a575dea15f29ef51928ed670935d0 already failed, giving up
More information about the Erp5-report
mailing list