[Erp5-report] ERP5 r37017 : 3666 Tests, 7 Errors, 26 Failures, 49 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jul 9 18:17:19 CEST 2010


Test Suite: ERP5
Revision: 37017
Result: FAIL

All tests: 3666
Failures: 26
Errors: 7
Skips: 49


The following tests failed:

  testBusinessTemplate                               (1 errors, 2 skips)
   test_build_and_export_bt5_into_same_transaction (testBusinessTemplate.TestBusinessTemplate)

  testDms                                            (1 failures)
   test_10_SearchString (testDms.TestDocument)

  testDmsWithFlare                                   (1 failures)
   test_10_SearchString (testDmsWithFlare.TestDocumentWithFlare)

  testERP5Catalog                                    (2 failures, 3 skips)
   test_48bis_ERP5Site_hotReindexAllCheckCachedValues (testERP5Catalog.TestERP5Catalog)
   test_PersonDocumentWithMonovaluedLocalRole (testERP5Catalog.TestERP5Catalog), Test when user is added, which has local roles on own Person Document

  testERP5CurrencyExchangeLine                       (1 failures)
   test_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)

  testERP5Simulation                                 (3 failures, 3 skips)
   test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testERP5Simulation.TestERP5SimulationPackingList)
   test_subcontent_reindexing_packing_list_container_line_cell (testERP5Simulation.TestERP5SimulationPackingList), Tests, that indexation of Packing List are propagated to subobjects
   test_subcontent_reindexing_packing_list_line_cell (testERP5Simulation.TestERP5SimulationPackingList), Tests, that indexation of Packing List are propagated to subobjects

  testICal                                           (1 failures)
   test_01_renderEvent (testICal.TestICal)

  testInvalidationBug                                (1 failures, 1 errors)
   testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
   testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)

  testOOoConversionCache                             (1 errors)
   test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)

  testOpenOrder                                      (2 failures, 1 errors)
   testOpenOrderRule (testOpenOrder.TestOpenOrder)
   testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
   testPeriodicityDateList (testOpenOrder.TestOpenOrder)

  testPreferences                                    (1 failures)
   test_property_sheet_security_on_permission (testPreferences.TestPreferences), Added a test to make sure permissions are used into portal

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

  testTradeCondition                                 (8 failures)
   test_subcontent_supply_line_reindexing (testTradeCondition.TestApplyTradeConditionSaleOrder)
   test_subcontent_supply_line_reindexing (testTradeCondition.TestApplyTradeConditionPurchaseOrder)
   test_subcontent_supply_line_reindexing (testTradeCondition.TestTradeConditionSupplyLineSaleOrder)
   test_subcontent_supply_line_reindexing (testTradeCondition.TestTradeConditionSupplyLinePurchaseOrder)
   test_subcontent_supply_line_reindexing (testTradeCondition.TestTradeConditionSupplyLineSaleInvoice)
   test_subcontent_supply_line_reindexing (testTradeCondition.TestTradeConditionSupplyLinePurchaseInvoice)
   test_subcontent_supply_line_reindexing (testTradeCondition.TestEffectiveSaleTradeCondition)
   test_subcontent_supply_line_reindexing (testTradeCondition.TestEffectivePurchaseTradeCondition)

  testUrl                                            (1 errors)
   test_document_asUrl (testUrl.TestUrl)

  testWebDavSupport                                  (3 failures, 2 errors, 1 skips)
   test_GET_on_document (testWebDavSupport.TestWebDavSupport), Get data from document in webdav
   test_PROPFIND_on_document (testWebDavSupport.TestWebDavSupport), test Metadata extraction from webdav protocol
   test_GET_on_contributionTool (testWebDavSupport.TestWebDavSupport), Get a document through Contribution Tool.
   test_PUT_on_contributionTool (testWebDavSupport.TestWebDavSupport), Test Portal Contribution through Webdav calls
   test_PUT_on_web_page (testWebDavSupport.TestWebDavSupport), Edit a web_page in webdav

  testXHTML                                          (1 failures)
   test_erp5_dms_PDF_PDF_viewHTMLPreviewAsThumbnailList (testXHTML.TestXHTML)

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)

  testERP5Base                                       (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                                 (3 skips)

  testERP5TypeInterfaces                             (1 skips)

  testERP5Web                                        (2 skips)

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

  testInventoryAPI                                   (2 skips)

  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'

  testTaskReportDivergence                           (1 skips)

  testTemplate                                       (1 skips)

  testTranslation                                    (1 skips)

  testWebDavSupport                                  (1 skips)
-------------- next part --------------

ERROR: test_build_and_export_bt5_into_same_transaction (testBusinessTemplate.TestBusinessTemplate)
----------------------------------------------------------------------
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/testBusinessTemplate.py", line 7015, in test_build_and_export_bt5_into_same_transaction
    new_bt5_obj.build()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Base.py", line 238, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 5212, in build
    item.build(self)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5/Document/BusinessTemplate.py", line 3329, in build
    self._objects[key] = self.local_file_reader_name(key)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/Products/ERP5Type/Utils.py", line 577, in readLocalPropertySheet
    f = open(path)
IOError: [Errno 2] No such file or directory: '/home/buildbot/slave/full.ERP5.blade-nxd1-10.2/build/unit_test/PropertySheet/UnitTest.py'


FAIL: test_10_SearchString (testDms.TestDocument)
----------------------------------------------------------------------
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 1044, in test_10_SearchString
    self.assertEquals(parsed_string['portal_type'], 'Drawing,File,Web Page')
AssertionError: ['Drawing,File,Web', 'Page'] != 'Drawing,File,Web Page'


FAIL: test_10_SearchString (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
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/ERP5OOo/tests/testDms.py", line 1044, in test_10_SearchString
    self.assertEquals(parsed_string['portal_type'], 'Drawing,File,Web Page')
AssertionError: ['Drawing,File,Web', 'Page'] != 'Drawing,File,Web Page'


FAIL: test_48bis_ERP5Site_hotReindexAllCheckCachedValues (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
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/ERP5Catalog/tests/testERP5Catalog.py", line 1742, in test_48bis_ERP5Site_hotReindexAllCheckCachedValues
    self.assertTrue('dummy.dummy_title' in portal_catalog.getSQLCatalog().getColumnMap())
AssertionError


FAIL: test_PersonDocumentWithMonovaluedLocalRole (testERP5Catalog.TestERP5Catalog), Test when user is added, which has local roles on own Person Document
----------------------------------------------------------------------
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/ERP5Catalog/tests/testERP5Catalog.py", line 3637, in test_PersonDocumentWithMonovaluedLocalRole
    ['Assignee', 'Assignor', 'Associate', 'Auditor', 'Author', 'Manager']
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 770, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: ['Assignee', 'Assignor', 'Associate', 'Auditor', 'Author', 'Manager', 'user:person_document_user_name', 'user:person_document_user_name:Assignee'] != ['Assignee', 'Assignor', 'Associate', 'Auditor', 'Author', 'Manager']


FAIL: test_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)
----------------------------------------------------------------------
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/testERP5CurrencyExchangeLine.py", line 508, in test_CreateCELWithNoBasePrice
    327979)
AssertionError: 500.0 != 327979


FAIL: test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine (testERP5Simulation.TestERP5SimulationPackingList)
----------------------------------------------------------------------
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/testPackingList.py", line 1129, in test_05d_SimulationChangeResourceOnOneSimulationMovementForMergedLine
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/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.6/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
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      ConfirmOrder
      Tic
      CheckOrderSimulation
      CheckDeliveryBuilding
      CheckPackingListIsNotDivergent
      CheckOrderPackingList
      CreateNotVariatedResource
      ModifyOneSimulationLineResource
      Tic
      CheckPackingListIsDiverged
      AdoptPrevisionResource
      Tic
    > CheckPackingListIsNotDivergent
      CheckPackingListIsSolved
      CheckPackingListLineWithDifferentResource
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testPackingList.py", line 228, in stepCheckPackingListIsNotDivergent
    self.assertFalse(packing_list.isDivergent())
AssertionError


FAIL: test_subcontent_reindexing_packing_list_container_line_cell (testERP5Simulation.TestERP5SimulationPackingList), Tests, that indexation of Packing List are propagated to subobjects
----------------------------------------------------------------------
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/testPackingList.py", line 1601, in test_subcontent_reindexing_packing_list_container_line_cell
    self._testSubContentReindexing(packing_list, [container, container_line,
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testOrder.py", line 102, in _testSubContentReindexing
    expected_path_list
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 770, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: ['/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/28', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/portal_rules/new_order_root_simulation_rule', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/28/1/1', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/business_process_module/erp5_default_business_process/pay', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/portal_rules/default_order_root_simulation_rule', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/28/1/1/1', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/28/1'] != ['/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/28/1', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/28/1/1', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/28/1/1/1', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/28']


FAIL: test_subcontent_reindexing_packing_list_line_cell (testERP5Simulation.TestERP5SimulationPackingList), Tests, that indexation of Packing List are propagated to subobjects
----------------------------------------------------------------------
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/testPackingList.py", line 1586, in test_subcontent_reindexing_packing_list_line_cell
    self._testSubContentReindexing(packing_list, [packing_list_line,
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5/tests/testOrder.py", line 102, in _testSubContentReindexing
    expected_path_list
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.6/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 770, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: ['/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/29', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/29/1', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/portal_rules/new_order_root_simulation_rule', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/29/1/1', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/business_process_module/erp5_default_business_process/pay', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/portal_rules/default_order_root_simulation_rule'] != ['/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/29/1', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/29/1/1', '/erp5_portal_c57d7bf4eafcb9ad2fe2626414f201cd/sale_packing_list_module/29']


FAIL: test_01_renderEvent (testICal.TestICal)
----------------------------------------------------------------------
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/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'


ERROR: testCommitOrder (testInvalidationBug.TestInvalidationBug), Check order of resources being committed
----------------------------------------------------------------------
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/testInvalidationBug.py", line 70, in testCommitOrder
    result_list = [map(apply, test_list)]
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/tests/testInvalidationBug.py", line 68, in <lambda>
    test_list.append(lambda manage_test=connection.manage_test, query=query:
  File "/usr/lib/erp5/lib/python/Shared/DC/ZRDB/Connection.py", line 114, in manage_test
    dbc=self()      #get our connection
  File "/usr/lib/erp5/lib/python/Shared/DC/ZRDB/Connection.py", line 172, in __call__
    return self._v_database_connection
AttributeError: _v_database_connection


FAIL: testLateInvalidationFromZEO (testInvalidationBug.TestInvalidationBug)
----------------------------------------------------------------------
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/testInvalidationBug.py", line 168, in testLateInvalidationFromZEO
    self.assertNoPendingMessage()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 130, in assertNoPendingMessage
    self.fail(error_message)
AssertionError: These messages are pending: [('/erp5_portal_dbc865b0f58a63ce83de451b148c0de2/organisation_module/1', 'immediateReindexObject', -3, 0)]
Last error message:
KeyError
'1'
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 1189, in invokeGroup
  Module Products.CMFActivity.ActivityTool, line 213, in getObject
  Module OFS.Traversable, line 233, in unrestrictedTraverse
   - __traceback_info__: ([], '1')
  Module OFS.ObjectManager, line 715, in __getitem__
KeyError: '1'



ERROR: test_01_PersistentCacheConversion (testOOoConversionCache.TestDocumentConversionCache)
----------------------------------------------------------------------
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/ERP5OOo/tests/testOOoConversionCache.py", line 94, in test_01_PersistentCacheConversion
    format_list = [format for format in document.getTargetFormatList() if format not in self.failed_format_list]
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5/Document/Document.py", line 1295, in getTargetFormatList
    return map(lambda x: x[1], self.getTargetFormatItemList())
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.1/build/unit_test/Products/ERP5OOo/Document/OOoDocument.py", line 200, in getTargetFormatItemList
    raise NotConvertedError
NotConvertedError


ERROR: testOpenOrderRule (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
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/ERP5/tests/testOpenOrder.py", line 284, in testOpenOrderRule
    calculation_base_date=DateTime(3000,2,9))
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Legacy/Document/OpenOrderRule.py", line 84, in expand
    calculation_base_date=calculation_base_date,
TypeError: _getOrderDateScheduleTupleList() got multiple values for keyword argument 'calculation_base_date'


FAIL: testBuildingSaleOrder (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
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/ERP5/tests/testOpenOrder.py", line 400, in testBuildingSaleOrder
    self.assertEqual(len(open_sale_order.getCausalityRelatedValueList(portal_type='Sale Order')), 9)
AssertionError: 0 != 9


FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
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/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_property_sheet_security_on_permission (testPreferences.TestPreferences), Added a test to make sure permissions are used into portal
----------------------------------------------------------------------
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/ERP5Form/tests/testPreferences.py", line 578, in test_property_sheet_security_on_permission
    self.assertFalse(guarded_hasattr(preference_tool, 'getPreferredToto'))
AssertionError


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.4/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_subcontent_supply_line_reindexing (testTradeCondition.TestApplyTradeConditionSaleOrder)
----------------------------------------------------------------------
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/testTradeCondition.py", line 131, in test_subcontent_supply_line_reindexing
    1)
AssertionError: 0 != 1


FAIL: test_subcontent_supply_line_reindexing (testTradeCondition.TestApplyTradeConditionPurchaseOrder)
----------------------------------------------------------------------
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/testTradeCondition.py", line 131, in test_subcontent_supply_line_reindexing
    1)
AssertionError: 0 != 1


FAIL: test_subcontent_supply_line_reindexing (testTradeCondition.TestTradeConditionSupplyLineSaleOrder)
----------------------------------------------------------------------
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/testTradeCondition.py", line 131, in test_subcontent_supply_line_reindexing
    1)
AssertionError: 0 != 1


FAIL: test_subcontent_supply_line_reindexing (testTradeCondition.TestTradeConditionSupplyLinePurchaseOrder)
----------------------------------------------------------------------
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/testTradeCondition.py", line 131, in test_subcontent_supply_line_reindexing
    1)
AssertionError: 0 != 1


FAIL: test_subcontent_supply_line_reindexing (testTradeCondition.TestTradeConditionSupplyLineSaleInvoice)
----------------------------------------------------------------------
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/testTradeCondition.py", line 131, in test_subcontent_supply_line_reindexing
    1)
AssertionError: 0 != 1


FAIL: test_subcontent_supply_line_reindexing (testTradeCondition.TestTradeConditionSupplyLinePurchaseInvoice)
----------------------------------------------------------------------
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/testTradeCondition.py", line 131, in test_subcontent_supply_line_reindexing
    1)
AssertionError: 0 != 1


FAIL: test_subcontent_supply_line_reindexing (testTradeCondition.TestEffectiveSaleTradeCondition)
----------------------------------------------------------------------
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/testTradeCondition.py", line 131, in test_subcontent_supply_line_reindexing
    1)
AssertionError: 0 != 1


FAIL: test_subcontent_supply_line_reindexing (testTradeCondition.TestEffectivePurchaseTradeCondition)
----------------------------------------------------------------------
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/testTradeCondition.py", line 131, in test_subcontent_supply_line_reindexing
    1)
AssertionError: 0 != 1


ERROR: test_document_asUrl (testUrl.TestUrl)
----------------------------------------------------------------------
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/ERP5/tests/testUrl.py", line 51, in test_document_asUrl
    url_crawler = self.url_crawler
AttributeError: 'TestUrl' object has no attribute 'url_crawler'


ERROR: test_GET_on_document (testWebDavSupport.TestWebDavSupport), Get data from document in webdav
----------------------------------------------------------------------
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/testWebDavSupport.py", line 204, in test_GET_on_document
    document = document_module[filename]
  File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 715, in __getitem__
    raise KeyError, key
KeyError: 'P-DMS-Presentation.3.Pages-001-en.odp'


ERROR: test_PROPFIND_on_document (testWebDavSupport.TestWebDavSupport), test Metadata extraction from webdav protocol
----------------------------------------------------------------------
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/testWebDavSupport.py", line 225, in test_PROPFIND_on_document
    document = document_module[filename]
  File "/usr/lib/erp5/lib/python/OFS/ObjectManager.py", line 715, in __getitem__
    raise KeyError, key
KeyError: 'P-DMS-Presentation.3.Pages-001-en.odp'


FAIL: test_GET_on_contributionTool (testWebDavSupport.TestWebDavSupport), Get a document through Contribution Tool.
----------------------------------------------------------------------
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/testWebDavSupport.py", line 132, in test_GET_on_contributionTool
    self.assertEqual(response.getStatus(), httplib.CREATED)
AssertionError: 500 != 201


FAIL: test_PUT_on_contributionTool (testWebDavSupport.TestWebDavSupport), Test Portal Contribution through Webdav calls
----------------------------------------------------------------------
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/testWebDavSupport.py", line 110, in test_PUT_on_contributionTool
    self.assertEqual(response.getStatus(), httplib.CREATED)
AssertionError: 500 != 201


FAIL: test_PUT_on_web_page (testWebDavSupport.TestWebDavSupport), Edit a web_page in webdav
----------------------------------------------------------------------
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/testWebDavSupport.py", line 158, in test_PUT_on_web_page
    self.assertEqual(response.getStatus(), httplib.CREATED)
AssertionError: 500 != 201


FAIL: test_erp5_dms_PDF_PDF_viewHTMLPreviewAsThumbnailList (testXHTML.TestXHTML)
----------------------------------------------------------------------
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/testXHTML.py", line 456, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "PDF_viewHTMLPreviewAsThumbnailList" (from erp5_dms bt) with warnings displayed :
Error: line 593 column 85 : general entity "display" not defined and no default entity
Error: line 593 column 92 : reference to entity "display" for which no system identifier could be generated
Error: line 593 column 103 : general entity "format" not defined and no default entity
Error: line 593 column 109 : reference to entity "format" for which no system identifier could be generated
Warning: line 593 column 85 : cannot generate system identifier for general entity "display"
Warning: line 593 column 92 : reference not terminated by REFC delimiter
Warning: line 593 column 103 : cannot generate system identifier for general entity "format"
Warning: line 593 column 109 : reference not terminated by REFC delimiter


More information about the Erp5-report mailing list