[Erp5-report] ERP5 r34045 : 3409 Tests, 3 Errors, 19 Failures, 40 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 24 18:08:36 CET 2010


Test Suite: ERP5
Revision: 34045
Result: FAIL

All tests: 3409
Failures: 19
Errors: 3
Skips: 40


The following tests failed:

  testDms                                            (1 errors)
   test_safeHTML_conversion (testDms.TestDocument), This test create a Web Page and test asSafeHTML conversion.

  testDmsWithFlare                                   (1 errors)
   test_safeHTML_conversion (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and test asSafeHTML conversion.

  testERP5Simulation                                 (6 failures, 1 skips)
   test_03_PackingListChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
   test_06_SimulationChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
   test_07_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
   test_07a_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
   test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
   test_accept_quantity_divergence_on_invoice_with_started_packing_list (testERP5Simulation.TestERP5SimulationInvoice)

  testFormPrintoutAsODT                              (1 failures, 1 skips)
   test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: make sure that it is enable to use ODF cell format setting in FormPrintout

  testICal                                           (1 failures)
   test_01_renderEvent (testICal.TestICal)

  testOpenOrder                                      (2 failures)
   testOpenOrderRule (testOpenOrder.TestOpenOrder)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testProxyField                                     (1 failures)
   testSkinSelectionTemplateField (testProxyField.TestProxyField)

  testResource                                       (1 errors)
   test_sourceDestinationReferenceOnSupplyLineOnDefaultSupplyLine (testResource.TestResource), Check that it's possible to set and get a source/destination_reference

  testSerializeForm                                  (1 failures)
   test checking if the field values are of the proper type.

  testTemplate                                       (2 failures)
   test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
   test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation

  testTradeModelLine                                 (1 failures, 1 skips)
   test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list using different ratio

  testTradeModelLinePurchase                         (1 failures, 1 skips)
   test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check building invoice after splitting packing list using different ratio

  testXHTML                                          (3 failures, 1 skips)
   test_erp5_dms_Drawing_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
   test_erp5_dms_Presentation_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
   test_listActionInListbox (testXHTML.TestXHTML)

The following tests were at least partly skipped:

  testBase                                           (3 skips)

  testBusinessTemplate                               (2 skips)

  testERP5Catalog                                    (4 skips)

  testERP5Interfaces                                 (13 skips)

  testERP5Simulation                                 (1 skips)

  testERP5TypeInterfaces                             (1 skips)

  testFormPrintoutAsODT                              (1 skips)

  testMRP                                            (4 skips)

  testSQLCachedWorklist                              (1 skips)

  testSelectionTool                                  (7 skips)

  testTradeModelLine                                 (1 skips)

  testTradeModelLinePurchase                         (1 skips)

  testXHTML                                          (1 skips)
-------------- next part --------------

ERROR: test_safeHTML_conversion (testDms.TestDocument), This test create a Web Page and test asSafeHTML conversion.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 1452, in test_safeHTML_conversion
    safe_html = web_page.asSafeHTML()
AttributeError: asSafeHTML


ERROR: test_safeHTML_conversion (testDmsWithFlare.TestDocumentWithFlare), This test create a Web Page and test asSafeHTML conversion.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 1452, in test_safeHTML_conversion
    safe_html = web_page.asSafeHTML()
AttributeError: asSafeHTML


FAIL: test_03_PackingListChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1011, in test_03_PackingListChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ChangePackingListStartDate
      CheckPackingListIsCalculating
      Tic
      CheckPackingListIsDiverged
      UnifyStartDateWithDecision
      Tic
      CheckPackingListIsSolved
      CheckPackingListIsNotDivergent
    > CheckSimulationStartDateUpdated
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 433, in stepCheckSimulationStartDateUpdated
    self.assertEquals(simulation_movement.getStartDate(),self.datetime + 15)
AssertionError: DateTime('2010/04/03 12:14:39.151 GMT-4') != DateTime('2010/04/08 12:14:39.151 GMT-4')


FAIL: test_06_SimulationChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1189, in test_06_SimulationChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/04/03 12:14:39.151 GMT-4') != DateTime('2010/04/08 12:14:39.151 GMT-4')


FAIL: test_07_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1210, in test_07_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifySimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/04/03 12:14:39.151 GMT-4') != DateTime('2010/04/08 12:14:39.151 GMT-4')


FAIL: test_07a_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 1231, in test_07a_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateOrganisation1
      CreateOrganisation2
      CreateOrganisation3
      CreateProject1
      CreateProject2
      CreateOrder
      CreateCurrency
      SetOrderPriceCurrency
      SetOrderProfile
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      ModifyOneSimulationLineStartDate
      Tic
      CheckPackingListIsDiverged
      CheckPackingListIsDivergent
      UnifyStartDateWithPrevision
      Tic
      CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
    > CheckNewPackingListAfterStartDateAdopt
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/04/03 12:14:39.151 GMT-4') != DateTime('2010/04/08 12:14:39.151 GMT-4')


FAIL: test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2832, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 116, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    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
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
    > CheckPackingListIsDivergent
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testPackingList.py", line 189, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError


FAIL: test_accept_quantity_divergence_on_invoice_with_started_packing_list (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3464, in test_accept_quantity_divergence_on_invoice_with_started_packing_list
    self.assertEquals('diverged', packing_list.getCausalityState())
AssertionError: 'diverged' != 'solved'


FAIL: test_02_Table_07_CellFormat (testFormPrintoutAsODT.TestFormPrintoutAsODT), 7. Normal case: make sure that it is enable to use ODF cell format setting in FormPrintout
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testFormPrintoutAsODT.py", line 633, in test_02_Table_07_CellFormat
    self.assertEqual(date_column.attrib[date_value_attrib], '2009-04-20')
AssertionError: '2009-04-19' != '2009-04-20'


FAIL: test_01_renderEvent (testICal.TestICal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testICal.py", line 151, in test_01_renderEvent
    self.assertEquals( # if this fail for you, try to set $TZ to Europe/Paris
AssertionError: '20070815T143000Z' != '20070815T083000Z'


FAIL: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 303, in testOpenOrderRule
    [(DateTime(3000,2,10,10,0), DateTime(3000,2,11,10,0)),
AssertionError: [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 US/Eastern'), DateTime('3000/03/11 10:00:00 US/Eastern'))] != [(DateTime('3000/02/10 10:00:00 US/Eastern'), DateTime('3000/02/11 10:00:00 US/Eastern')), (DateTime('3000/02/17 10:00:00 US/Eastern'), DateTime('3000/02/18 10:00:00 US/Eastern')), (DateTime('3000/02/24 10:00:00 US/Eastern'), DateTime('3000/02/25 10:00:00 US/Eastern')), (DateTime('3000/03/03 10:00:00 US/Eastern'), DateTime('3000/03/04 10:00:00 US/Eastern')), (DateTime('3000/03/10 10:00:00 GMT-4'), DateTime('3000/03/11 10:00:00 GMT-4'))]


FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 185, in testPeriodicityDateList
    [(D(2008,2,1,0,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 US/Eastern'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 US/Eastern'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 US/Eastern'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 US/Eastern'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 US/Eastern'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 US/Eastern'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 US/Eastern'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 US/Eastern'), DateTime('2008/11/30'))] != [(DateTime('2008/02/01 00:01:00 US/Eastern'), DateTime('2008/02/29')), (DateTime('2008/03/01 00:01:00 US/Eastern'), DateTime('2008/03/31')), (DateTime('2008/04/01 00:01:00 GMT-4'), DateTime('2008/04/30')), (DateTime('2008/05/01 00:01:00 GMT-4'), DateTime('2008/05/31')), (DateTime('2008/06/01 00:01:00 GMT-4'), DateTime('2008/06/30')), (DateTime('2008/07/01 00:01:00 GMT-4'), DateTime('2008/07/31')), (DateTime('2008/08/01 00:01:00 GMT-4'), DateTime('2008/08/31')), (DateTime('2008/09/01 00:01:00 GMT-4'), DateTime('2008/09/30')), (DateTime('2008/10/01 00:01:00 GMT-4'), DateTime('2008/10/31')), (DateTime('2008/11/01 00:01:00 GMT-4'), DateTime('2008/11/30'))]


FAIL: testSkinSelectionTemplateField (testProxyField.TestProxyField)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5Form/tests/testProxyField.py", line 199, in testSkinSelectionTemplateField
    self.assertEquals('Customized Title', field.get_value('title'))
AssertionError: 'Customized Title' != 'Generic Title'


ERROR: test_sourceDestinationReferenceOnSupplyLineOnDefaultSupplyLine (testResource.TestResource), Check that it's possible to set and get a source/destination_reference
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testResource.py", line 1115, in test_sourceDestinationReferenceOnSupplyLineOnDefaultSupplyLine
    self.assertEquals(resource.getPurchaseSupplyLineDestinationReference(),
AttributeError: getPurchaseSupplyLineDestinationReference


FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/Formulator/tests/testSerializeForm.py", line 358, in test_fieldValueTypes
    self.assertEquals(field.values, field2.values)
AssertionError: {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': None, 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': None, 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': None, 'timezone_style': 0} != {'alternate_name': '', 'title': 'Test Title', 'date_separator': '', 'editable': 0, 'input_order': 'mdy', 'start_datetime': '', 'description': '', 'default_now': 0, 'allow_empty_time': 0, 'ampm_time_style': 0, 'hide_day': 0, 'date_only': 0, 'time_separator': '$', 'hidden': 0, 'default': '', 'css_class': 'test_css', 'required': 1, 'enabled': 1, 'input_style': 'list', 'external_validator': '', 'hidden_day_is_last_day': 0, 'end_datetime': '', 'timezone_style': 0}


FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTemplate.py", line 315, in _testTemplateNotIndexable
    self.assertEquals(0, len(self.portal.portal_catalog(uid=template.getUid())))
AssertionError: 0 != 1


FAIL: test_manyTemplatesWithoutReindexation (testTemplate.TestTemplate), Check what happen when templates are created one by one without reindexation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testTemplate.py", line 279, in test_manyTemplatesWithoutReindexation
    self.assertEqual(len(preference_id_list) + 1, len(new_preference_id_list))
AssertionError: 1 != 2


FAIL: test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLine.TestTradeModelLineSale), Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2191, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      DecreasePackingListLineListQuantity
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CheckPackingListDiverged
      SplitAndDeferPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetNewPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      SetNewPackingListAsPackingList
      PackPackingList
      Tic
      StartPackingList
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 463, in stepCheckInvoiceCausalityStateSolved
    invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x64296c8
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/12/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/21/2/1/1/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0x5dc8a28
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/12/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_ad634f4ece1810b728855e61e26535eb/portal_simulation/21/1/1/1/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>]


FAIL: test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio (testTradeModelLinePurchase.TestTradeModelLinePurchase), Check building invoice after splitting packing list using different ratio
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 2191, in test_TradeModelRuleSimulationPackingListSplitBuildInvoiceBuildDifferentRatio
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateServiceTax
      CreateServiceDiscount
      CreatePriceCurrency
      CreateProductDiscounted
      CreateProductTaxed
      CreateProductDiscountedTaxed
      CreateSource
      CreateSourceSection
      CreateDestination
      CreateDestinationSection
      Tic
      CreateBusinessProcess
      CreateBusinessState
      ModifyBusinessStateTaxed
      CreateBusinessState
      ModifyBusinessStateInvoiced
      CreateBusinessPath
      ModifyBusinessPathTaxing
      CreateBusinessPath
      ModifyBusinessPathDiscounting
      CreateTradeCondition
      SpecialiseTradeConditionWithBusinessProcess
      CreateTradeModelLine
      ModifyTradeModelLineTax
      CreateTradeModelLine
      ModifyTradeModelLineDiscount
      Tic
      CreateOrder
      SpecialiseOrderTradeCondition
      FillOrder
      Tic
      CreateOrderLine
      ModifyOrderLineTaxed
      CreateOrderLine
      ModifyOrderLineDiscounted
      CreateOrderLine
      ModifyOrderLineDiscountedTaxed
      Tic
      CheckOrderComplexTradeConditionAggregatedAmountList
      CheckOrderLineTaxedAggregatedAmountList
      CheckOrderLineDiscountedTaxedAggregatedAmountList
      CheckOrderLineDiscountedAggregatedAmountList
      Tic
      PlanOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      ConfirmOrder
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetPackingList
      DecreasePackingListLineListQuantity
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      CheckPackingListDiverged
      SplitAndDeferPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetNewPackingList
      PackPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StartPackingList
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
    > CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
      SetNewPackingListAsPackingList
      PackPackingList
      Tic
      StartPackingList
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      StopPackingList
      DeliverPackingList
      Tic
      CheckOrderLineTaxedSimulation
      CheckOrderLineDiscountedSimulation
      CheckOrderLineDiscountedTaxedSimulation
      GetInvoice
      CheckInvoiceCausalityStateSolved
      CheckInvoiceNormalMovements
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testTradeModelLine.py", line 463, in stepCheckInvoiceCausalityStateSolved
    invoice.getDivergenceList())
AssertionError: [<DivergenceMessage object at 0x9ee2440
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/12/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/21/2/1/1/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>, <DivergenceMessage object at 0x6d4eb00
  'decision_value': -0.049999999999999989
  'divergence_scope': 'property'
  'prevision_value': -0.050000000000000003
  'mapping': {}
  'object_relative_url': 'accounting_module/12/5'
  'simulation_movement': <SimulationMovement at /erp5_portal_f961ca546667fb6832d17eeef19b90b9/portal_simulation/21/1/1/1/1/1/2/1>
  'tested_property': 'price'
  'message': 'Price'>]


FAIL: test_erp5_dms_Drawing_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testXHTML.py", line 436, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "OOoDocument_viewAsWeb" (from erp5_dms bt) with warnings displayed :
Error: line 539 column 43 : there is no attribute "class"
Error: line 539 column 63 : there is no attribute "style"
Error: line 539 column 105 : there is no attribute "src"
Error: line 539 column 222 : there is no attribute "onload"
Error: line 539 column 244 : element "iframe" undefined


FAIL: test_erp5_dms_Presentation_OOoDocument_viewAsWeb (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testXHTML.py", line 436, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "OOoDocument_viewAsWeb" (from erp5_dms bt) with warnings displayed :
Error: line 539 column 43 : there is no attribute "class"
Error: line 539 column 63 : there is no attribute "style"
Error: line 539 column 105 : there is no attribute "src"
Error: line 539 column 222 : there is no attribute "onload"
Error: line 539 column 244 : element "iframe" undefined


FAIL: test_listActionInListbox (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/tests/testXHTML.py", line 265, in test_listActionInListbox
    self.assertEquals(error_list, [])
AssertionError: [('erp5_pdm/Resource_viewTransformedResourceInventory/listbox', 'Resource_viewTransformedResource'), ('erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox', 'WebSite_viewLatestAdditionList'), ('erp5_gadget/ERP5Site_viewPersonListGadget/listbox', 'person_module/view'), ('erp5_gadget/ERP5Site_viewRssGadget/listbox', 'Rss Link Error')] != []


More information about the Erp5-report mailing list