[Erp5-report] ERP5_z212 r34912 : 3467 Tests, 5 Errors, 17 Failures, 39 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Sun May 2 06:38:05 CEST 2010


Test Suite: ERP5_z212
Revision: 34912
Result: FAIL

All tests: 3467
Failures: 17
Errors: 5
Skips: 39


The following tests failed:

  testDms                                            (4 errors)
   test_safeHTML_conversion (testDms.TestDocument), This test create a Web Page and test asSafeHTML conversion.
   test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
   test_ImageSizePreference (testDms.TestDocumentWithSecurity)
   test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)

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

  testERP5DocumentSyncML                             (1 failures)
   test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testERP5Simulation                                 (5 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)

  testERP5Web                                        (1 failures)
   test_13a_DocumentMovedCache (testERP5Web.TestERP5Web)

  testItem                                           (1 failures)
   test_05_CreateItemsFromPackingListLineWithNotVariatedResource (testItem.TestItem)

  testLegacyProductionOrder                          (1 failures)
   test_07_testTransformationInteractionProductionOrderLine (testLegacyProductionOrder.TestProductionOrder)

  testOOoConversionCache                             (2 failures)
   test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
   test_06_check_md5_is_updated (testOOoConversionCache.TestDocumentConversionCache)

  testOpenOrder                                      (1 failures)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testProxyField                                     (1 failures)
   testSkinSelectionTemplateField (testProxyField.TestProxyField)

  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                                 (1 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'

  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)

  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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1507, in test_safeHTML_conversion
    web_page.edit(text_content=None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 237, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/TextDocument.py", line 123, in _edit
    Document._edit(self, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1690, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1674, in setChangedPropertyList
    modified_object_list = self._setProperty(key, kw[key])
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 205, in __call__
    return apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1470, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/cached_convertable.py", line 181, in updateContentMd5
    self._setContentMd5(md5.new(data).hexdigest()) # Reindex is useless
TypeError: md5() argument 1 must be string or read-only buffer, not None


ERROR: test_DownloadableDocumentSize (testDms.TestDocumentWithSecurity), Check that once the document is converted and cached, its size is
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 136, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 529, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 117, in afterSetUp
    self.setSystemPreference()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 137, in setSystemPreference
    portal_type=portal_type)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 457, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 164, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 357, in constructInstance
    raise m
Unauthorized: Cannot create System Preference


ERROR: test_ImageSizePreference (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 136, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 529, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 117, in afterSetUp
    self.setSystemPreference()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 137, in setSystemPreference
    portal_type=portal_type)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 457, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 164, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 357, in constructInstance
    raise m
Unauthorized: Cannot create System Preference


ERROR: test_ShowPreviewAfterSubmitted (testDms.TestDocumentWithSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 136, in run
    self.setUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 529, in setUp
    PortalTestCase.setUp(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
    self.afterSetUp()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 117, in afterSetUp
    self.setSystemPreference()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 137, in setSystemPreference
    portal_type=portal_type)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 457, in newContent
    return FolderMixIn.newContent(self, *args, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Core/Folder.py", line 164, in newContent
    is_indexable=is_indexable
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/ERP5Type.py", line 357, in constructInstance
    raise m
Unauthorized: Cannot create System Preference


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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testDms.py", line 1507, in test_safeHTML_conversion
    web_page.edit(text_content=None)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 237, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/Document/TextDocument.py", line 123, in _edit
    Document._edit(self, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1690, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1674, in setChangedPropertyList
    modified_object_list = self._setProperty(key, kw[key])
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 205, in __call__
    return apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 1470, in _setProperty
    return method(value, **kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/Base.py", line 252, in __call__
    wf[wf_id].notifySuccess(instance, transition_list, result, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/InteractionWorkflow.py", line 302, in notifySuccess
    script(sci)  # May throw an exception
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/ERP5TypeTestCase.py", line 1299, in _exec
    return PythonScript_exec(self, *args)
  File "/home/buildbot/slave/full.ERP5_z212/build/src/Zope2/src/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 2, in updateContentMd5
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/mixin/cached_convertable.py", line 181, in updateContentMd5
    self._setContentMd5(md5.new(data).hexdigest()) # Reindex is useless
TypeError: md5() argument 1 must be string or read-only buffer, not None


FAIL: test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 910, in test_08_MultiNodeConflict
    self.assertEqual(len(conflict_list), 6)
AssertionError: 5 != 6


FAIL: test_03_PackingListChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 1011, in test_03_PackingListChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    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_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 433, in stepCheckSimulationStartDateUpdated
    self.assertEquals(simulation_movement.getStartDate(),self.datetime + 15)
AssertionError: DateTime('2010/05/11 14:49:59.959774 GMT+2') != DateTime('2010/05/16 14:49:59.959774 GMT+2')


FAIL: test_06_SimulationChangeStartDate (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 1189, in test_06_SimulationChangeStartDate
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    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_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/05/11 14:49:59.959774 GMT+2') != DateTime('2010/05/16 14:49:59.959774 GMT+2')


FAIL: test_07_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 1210, in test_07_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    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_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/05/11 14:49:59.959774 GMT+2') != DateTime('2010/05/16 14:49:59.959774 GMT+2')


FAIL: test_07a_SimulationChangeStartDateWithTwoOrderLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 1231, in test_07a_SimulationChangeStartDateWithTwoOrderLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    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_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testPackingList.py", line 736, in stepCheckNewPackingListAfterStartDateAdopt
    self.assertEquals(packing_list.getStartDate(),self.datetime+15)
AssertionError: DateTime('2010/05/11 14:49:59.959774 GMT+2') != DateTime('2010/05/16 14:49:59.959774 GMT+2')


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


FAIL: test_13a_DocumentMovedCache (testERP5Web.TestERP5Web)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testERP5Web.py", line 1023, in test_13a_DocumentMovedCache
    self.assertTrue(document.hasConversion(format='txt'))
AssertionError


FAIL: test_05_CreateItemsFromPackingListLineWithNotVariatedResource (testItem.TestItem)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testItem.py", line 486, in test_05_CreateItemsFromPackingListLineWithNotVariatedResource
    ['Lot A3', 'Lot B3', 'Lot C3'])
AssertionError: ['Lot A3', 'Lot C3', 'Lot B3'] != ['Lot A3', 'Lot B3', 'Lot C3']


FAIL: test_07_testTransformationInteractionProductionOrderLine (testLegacyProductionOrder.TestProductionOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Legacy/tests/testLegacyProductionOrder.py", line 1571, in test_07_testTransformationInteractionProductionOrderLine
    sequence_list.play(self)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 192, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 114, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      ClearActivities
      CreateNotVariatedResource
      CreateOrder
      CreateTransformation
      Tic
      CreateOrderLineWithoutTransformation
      Tic
      CheckOrderLineTransformationIsSet
      RemoveResourceFromOrderLine
      Tic
    > CheckOrderLineTransformationIsNotSet
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Legacy/tests/testLegacyProductionOrder.py", line 672, in stepCheckOrderLineTransformationIsNotSet
    self.assertEquals(order_line.getSpecialiseValue(), None)
AssertionError: <Transformation at /erp5_portal_f9d5a9e0588ba4ee252164b55d086e03/transformation_module/8> != None


FAIL: test_05_checksum_conversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoConversionCache.py", line 268, in test_05_checksum_conversion
    self.assertTrue(md5sum)
AssertionError


FAIL: test_06_check_md5_is_updated (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5OOo/tests/testOOoConversionCache.py", line 289, in test_06_check_md5_is_updated
    self.assertTrue(md5sum)
AssertionError


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


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


FAIL: test checking if the field values are of the proper type.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 337, in test_DeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/ERP5/tests/testTemplate.py", line 345, in test_NonDeliveryTemplateNotIndexable
    self._testTemplateNotIndexable(document)
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/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_z212/build/parts/products-erp5/ERP5Type/tests/backportUnittest.py", line 145, in run
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z212/build/parts/products-erp5/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