[Erp5-report] ERP5 r35502 : 3543 Tests, 0 Errors, 19 Failures, 43 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Thu May 20 22:28:19 CEST 2010


Test Suite: ERP5
Revision: 35502
Result: FAIL

All tests: 3543
Failures: 19
Errors: 0
Skips: 43


The following tests failed:

  testAlarm                                          (1 failures)
   test_18_alarm_activities_execution_order (testAlarm.TestAlarm)

  testBusinessTemplate                               (1 failures, 2 skips)
   test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)

  testDms                                            (2 failures)
   test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
   test_parallel_conversion (testDms.TestDocument), Check that conversion engine is able to fill in

  testDmsWithFlare                                   (1 failures)
   test_PDFDocument_asTextConversion (testDmsWithFlare.TestDocumentWithFlare), Test a PDF document with embedded images

  testERP5DocumentSyncML                             (1 failures)
   test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5Simulation                                 (2 failures, 5 skips)
   test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
   test_18_compareInvoiceAndPackingList (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)

  testInvoice                                        (1 failures)
   test_Reference (testInvoice.TestSaleInvoice)

  testOOoChart                                       (2 failures)
   test_ooo_chart (testOOoChart.TestOOoChart)
   test_proxy_ooo_chart (testOOoChart.TestOOoChart)

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

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

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

The following tests were at least partly skipped:

  testBase                                           (3 skips)
   test_NonIndexable (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 in the same transaction of newContent(). ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable2 (testBase.TestBase), check if a document is not indexed where we call edit() and set isIndexable=0 after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'
   test_NonIndexable3 (testBase.TestBase), check if a document is not indexed where we set isIndexable=0 and call edit() after it is already indexed. ... skipped 'isIndexable is not designed to work like tested here, this test       must be rewritten once we know how to handle correctly templates'

  testBusinessTemplate                               (2 skips)

  testCMFActivity                                    (1 skips)

  testERP5Catalog                                    (3 skips)
   test_49_IndexInOrderedSearchFolder (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'
   test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog) ... skipped 'TODO ERP5'

  testERP5Interfaces                                 (13 skips)

  testERP5Simulation                                 (5 skips)

  testERP5TypeInterfaces                             (1 skips)

  testFormPrintoutAsODT                              (1 skips)
   test_09_FieldReplacementWithValidation (testFormPrintoutAsODT.TestFormPrintoutAsODT) ... skipped 'Disable validation because OOo does not produce compliant xml, and RelaxNG status is still draft'

  testMRP                                            (4 skips)
   test_TransformationRule_expand_concurrent (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_expand_reexpand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationRule_getHeadProductionPathList (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'
   test_TransformationSourcingRule_expand (testMRP.TestMRPImplementation) ... skipped 'Unfinished experimental feature'

  testProxyField                                     (1 skips)

  testSQLCachedWorklist                              (1 skips)
   test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist) ... skipped 'TODO ERP5'

  testSelectionTool                                  (7 skips)
   skipped 'Test to be written'
   testPage (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionTool) ... skipped 'Test to be written'
   skipped 'Test to be written'
   testDeleteGlobalSelection (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'To be decided if implementation is required'
   testPage (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'
   testView (testSelectionTool.TestSelectionToolMemcachedStorage) ... skipped 'Test to be written'

  testTranslation                                    (1 skips)
-------------- next part --------------

FAIL: test_18_alarm_activities_execution_order (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testAlarm.py", line 601, in test_18_alarm_activities_execution_order
    self.assertEqual(expected_tag, m.activity_kw.get('tag'))
AssertionError: 'portal_alarms/18_0' != 'portal_alarms/18_1'


FAIL: test_167_InstanceAndRelatedClassDefinedInSameBT (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5/tests/testBusinessTemplate.py", line 6371, in test_167_InstanceAndRelatedClassDefinedInSameBT
    self.assertTrue(getattr(portal.another_file, 'isClassOverriden', False))
AssertionError


FAIL: test_PDFDocument_asTextConversion (testDms.TestDocument), Test a PDF document with embedded images
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 1698, in test_PDFDocument_asTextConversion
    self.assertEquals(document.asText(), 'ERP5 is a free software.\n')
AssertionError: 'ERP5 is a fra-E suftwara\n' != 'ERP5 is a free software.\n'


FAIL: test_parallel_conversion (testDms.TestDocument), Check that conversion engine is able to fill in
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 1640, in test_parallel_conversion
    self.assertEquals(result_list, [])
AssertionError: [25] != []


FAIL: test_PDFDocument_asTextConversion (testDmsWithFlare.TestDocumentWithFlare), Test a PDF document with embedded images
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/Products/ERP5OOo/tests/testDms.py", line 1698, in test_PDFDocument_asTextConversion
    self.assertEquals(document.asText(), 'ERP5 is a free software.\n')
AssertionError: 'ERP5 is a fra-E suftwara\n' != 'ERP5 is a free software.\n'


FAIL: test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 800, in test_06_UpdateMultiData
    self.checkSynchronizationStateIsSynchronized()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 433, in checkSynchronizationStateIsSynchronized
    self.assertEqual(state[1], state[0].SYNCHRONIZED)
AssertionError: 409 != 1


FAIL: test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testInvoice.py", line 2828, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/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.1/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.1/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.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testPackingList.py", line 189, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError


FAIL: test_18_compareInvoiceAndPackingList (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3400, in test_18_compareInvoiceAndPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/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.1/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
      Tic
      CheckInvoiceBuilding
      CheckInvoicesConsistency
    > CheckPackingListInvoice
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testInvoice.py", line 608, in stepCheckPackingListInvoice
    self.assertEquals(packing_list.getSource(), invoice.getSource())
AssertionError: 'organisation_module/144' != 'organisation_module/146'


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.4/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/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.6/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/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: test_Reference (testInvoice.TestSaleInvoice)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testInvoice.py", line 3324, in test_Reference
    self.assertEquals('1', invoice.getReference())
AssertionError: '1' != '3'


FAIL: test_ooo_chart (testOOoChart.TestOOoChart)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Form/tests/testOOoChart.py", line 183, in test_ooo_chart
    self.assertEquals(HTTP_OK, response.getStatus(), '%s rendering failed: %s' % (image_format, response.getStatus()))
AssertionError: jpeg rendering failed: 500


FAIL: test_proxy_ooo_chart (testOOoChart.TestOOoChart)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Form/tests/testOOoChart.py", line 276, in test_proxy_ooo_chart
    self.assertEquals(HTTP_OK, response.getStatus(), '%s rendering failed: %s' % (image_format, response.getStatus()))
AssertionError: jpeg rendering failed: 500


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 151, 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 151, 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: 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.2/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_DeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testTemplate.py", line 337, in test_DeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/tests/testTemplate.py", line 327, in _testTemplateNotIndexable
    self.assertEqual(len(preference.objectIds()), 2)
AssertionError: 1 != 2


FAIL: test_NonDeliveryTemplateNotIndexable (testTemplate.TestTemplate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/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.2/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.2/build/products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/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


More information about the Erp5-report mailing list