[Erp5-report] ERP5_z212 r43869 : 4587 Tests, 5 Errors, 17 Failures, 236 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 2 05:53:12 CET 2011


Test Suite: ERP5_z212
Revision: 43869
Result: FAIL

All tests: 4587
Failures: 17
Errors: 5
Skips: 236



The following tests failed:

  testDiscussionThread                               (2 failures)
   testCanPostIfNotOwner (testDiscussionThread.TestDiscussionThread)
   testSpyCannotAccessButVisitorCan (testDiscussionThread.TestDiscussionThread)

  testDms                                            (1 failures, 1 errors, 1 skips)
   test_convertWebPageWithEmbeddedZODBImageToImageOnTraversal (testDms.TestDocument)
   test_base_convertable_behaviour_with_successive_updates (testDms.TestDocument), Check that update content's document (with setData and setFile)

  testDmsWithFlare                                   (1 failures, 1 errors, 1 skips)
   test_convertWebPageWithEmbeddedZODBImageToImageOnTraversal (testDmsWithFlare.TestDocumentWithFlare)
   test_base_convertable_behaviour_with_successive_updates (testDmsWithFlare.TestDocumentWithFlare), Check that update content's document (with setData and setFile)

  testERP5Core                                       (1 failures)
   test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.

  testERP5DocumentSyncML                             (1 failures, 2 errors)
   test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
   test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
   test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)

  testIngestion                                      (1 failures, 4 skips)
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestion.TestIngestion), How to configure meta data discovery so that a Spreadsheet

  testIngestionWithFlare                             (1 failures, 4 skips)
   test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that a Spreadsheet

  testLegacyTradeModelLine                           (2 failures)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
   test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testOOoImport                                      (3 failures)
   test_04_ImportFileWithCategory (testOOoImport.TestOOoImport)
   test_06_AuthorImportFile (testOOoImport.TestOOoImport)
   test_08_ImportFileWithAccentuatedText (testOOoImport.TestOOoImport)

  testPayroll                                        (1 failures)
   test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)

  testTradeModelLine                                 (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)

  testTradeModelLinePurchase                         (1 failures)
   test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)

  testUNGSecurity                                    (1 errors)
   testBase_updateCalendarEventListWithERP5User (testUNGSecurity.TestUNGSecurity)

  testXHTML                                          (1 failures)
   test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)

The following tests were at least partly skipped:

  testAccountingRules                                (26 skips)

  testAdvancedInvoicing                              (4 skips)

  testBPMCore                                        (12 skips)

  testBPMEvaluation                                  (40 skips)
   done (7.766s)test_confirming (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestOrderDefaultProcess) ... skipped 'broken since r39918'
   test_starting (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDefaultProcess) ... skipped 'broken since r39918'
   test_confirming (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestOrderDifferentProcess) ... skipped 'broken since r39918'
   test_starting (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_many_transactions (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_line_edit_add_same_resource_edit_again (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'
   test_transition_split_line_add_split (testBPMEvaluation.TestPackingListDifferentProcess) ... skipped 'broken since r39918'

  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)

  testCRM                                            (2 skips)

  testConversionInSimulation                         (4 skips)

  testDeliveryBuilderToSupportMultipleLines          (2 skips)

  testDivergenceTester                               (5 skips)

  testDms                                            (1 skips)

  testDmsWithFlare                                   (1 skips)

  testDynamicClassGeneration                         (3 skips)
   testAddInvalidProperty (testDynamicClassGeneration.TestZodbPropertySheet) ... skipped 'Skipped until per-document accessors generation is committed'
   testZodbImportPropertySheet (testDynamicClassGeneration.TestZodbImportFilesystemPropertySheet) ... skipped 'ERP5PropertySheetLegacy is now obsolete'

  testERP5Base                                       (1 skips)

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

  testERP5Interfaces                                 (9 skips)

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

  testICal                                           (1 skips)

  testImmobilisation                                 (2 skips)

  testIngestion                                      (4 skips)

  testIngestionWithFlare                             (4 skips)

  testInventoryAPI                                   (2 skips)

  testInvoice                                        (7 skips)

  testItem                                           (13 skips)

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

  testLegacyProjectAndTask                           (1 skips)

  testLegacySimulationInventoryAPI                   (2 skips)

  testMRP                                            (5 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'

  testOpenOrder                                      (3 skips)

  testOrderBuilder                                   (4 skips)

  testPackingList                                    (16 skips)

  testPackingListRoundingPrecision                   (8 skips)

  testPreferences                                    (1 skips)

  testProductionOrder                                (8 skips)

  testProductionOrderApparel                         (6 skips)

  testProductionPackingList                          (1 skips)

  testProductionPackingListApparel                   (1 skips)

  testProject                                        (1 skips)

  testProxyField                                     (1 skips)

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

  testTemplate                                       (1 skips)

  testWebDavSupport                                  (1 skips)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 1356 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110302/85521557/attachment-0001.diff>
-------------- next part --------------

FAIL: testCanPostIfNotOwner (testDiscussionThread.TestDiscussionThread)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/bt5/erp5_forum_tutorial/TestTemplateItem/testDiscussionThread.py", line 222, in testCanPostIfNotOwner
    self.assertEquals(response.getStatus(), HTTP_OK)
AssertionError: 503 != 200


FAIL: testSpyCannotAccessButVisitorCan (testDiscussionThread.TestDiscussionThread)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/bt5/erp5_forum_tutorial/TestTemplateItem/testDiscussionThread.py", line 152, in testSpyCannotAccessButVisitorCan
    self.assertEquals(response.getStatus(), HTTP_OK)
AssertionError: 503 != 200


ERROR: test_convertWebPageWithEmbeddedZODBImageToImageOnTraversal (testDms.TestDocument)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 1977, in test_convertWebPageWithEmbeddedZODBImageToImageOnTraversal
    web_page_image_size, web_page_file_size = self.getURLSizeList(web_page_document_url, **convert_kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 253, in getURLSizeList
    identify_output.split()[2].split('x')))
IndexError: list index out of range


FAIL: test_base_convertable_behaviour_with_successive_updates (testDms.TestDocument), Check that update content's document (with setData and setFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 2255, in test_base_convertable_behaviour_with_successive_updates
    'base data is not refreshed')
AssertionError: base data is not refreshed


ERROR: test_convertWebPageWithEmbeddedZODBImageToImageOnTraversal (testDmsWithFlare.TestDocumentWithFlare)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 1977, in test_convertWebPageWithEmbeddedZODBImageToImageOnTraversal
    web_page_image_size, web_page_file_size = self.getURLSizeList(web_page_document_url, **convert_kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 253, in getURLSizeList
    identify_output.split()[2].split('x')))
IndexError: list index out of range


FAIL: test_base_convertable_behaviour_with_successive_updates (testDmsWithFlare.TestDocumentWithFlare), Check that update content's document (with setData and setFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testDms.py", line 2255, in test_base_convertable_behaviour_with_successive_updates
    'base data is not refreshed')
AssertionError: base data is not refreshed


FAIL: test_view_tools (testERP5Core.TestERP5Core), Test we can view tools.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testERP5Core.py", line 305, in test_view_tools
    str(response)))
AssertionError: portal_categories: 503 (Status: 200 OK
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
Content-Length: 163
Content-Type: text/html; charset=utf-8

KeyError('erp5_ui',) (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: erp5_ui))


ERROR: test_03_UpdateSimpleData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 639, in test_03_UpdateSimpleData
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2', 'Document_tryToUpdateBaseMetadata', -2, 1)]
Last error message:
UnsupportedWorkflowMethod
Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2>. Current state is 'empty'.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1282, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 27, in Document_tryToUpdateBaseMetadata
   - <PythonScript at /erp5_portal_f5e135ab1569571772452b9867b308c0/Document_tryToUpdateBaseMetadata used for /erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2>
   - Line 27
  Module Products.ERP5Type.Base, line 220, in __call__
UnsupportedWorkflowMethod: Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_server/2>. Current state is 'empty'.



ERROR: test_06_UpdateMultiData (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 701, in test_06_UpdateMultiData
    self.synchronize(self.sub_id1)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 358, in synchronize
    self.tic()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ProcessingNodeTestCase.py", line 178, in tic
    raise RuntimeError(error_message)
RuntimeError: tic is looping forever. These messages are pending: [('/erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7', 'Document_tryToUpdateBaseMetadata', -2, 1)]
Last error message:
UnsupportedWorkflowMethod
Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7>. Current state is 'empty'.
Traceback (innermost last):
  Module Products.CMFActivity.ActivityTool, line 303, in __call__
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.ERP5Type.tests.ERP5TypeTestCase, line 1282, in _exec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 27, in Document_tryToUpdateBaseMetadata
   - <PythonScript at /erp5_portal_f5e135ab1569571772452b9867b308c0/Document_tryToUpdateBaseMetadata used for /erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7>
   - Line 27
  Module Products.ERP5Type.Base, line 220, in __call__
UnsupportedWorkflowMethod: Transition processing_status_workflow/process_conversion_failed unsupported for <Text at /erp5_portal_f5e135ab1569571772452b9867b308c0/document_client1/7>. Current state is 'empty'.



FAIL: test_08_MultiNodeConflict (testERP5DocumentSyncML.TestERP5DocumentSyncML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5SyncML/tests/testERP5DocumentSyncML.py", line 850, in test_08_MultiNodeConflict
    self.assertEqual(len(conflict_list), 9)
AssertionError: 10 != 9


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestion.TestIngestion), How to configure meta data discovery so that a Spreadsheet
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5OOo/tests/testIngestion.py", line 1917, in test_IngestionConfigurationByTypeBasedMethod_usecase6
    self.assertEquals(result_list[0].getPortalType(), 'Spreadsheet')
AssertionError: 'File' != 'Spreadsheet'


FAIL: test_IngestionConfigurationByTypeBasedMethod_usecase6 (testIngestionWithFlare.TestIngestionWithFlare), How to configure meta data discovery so that a Spreadsheet
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5OOo/tests/testIngestion.py", line 1917, in test_IngestionConfigurationByTypeBasedMethod_usecase6
    self.assertEquals(result_list[0].getPortalType(), 'Spreadsheet')
AssertionError: 'File' != 'Spreadsheet'


FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1159, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (Products.ERP5.tests.testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.3/Products/ERP5/tests/testTradeModelLine.py", line 1159, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_04_ImportFileWithCategory (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testOOoImport.py", line 561, in test_04_ImportFileWithCategory
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      ImportFileWithCategory
      Tic
    > CheckImportedPersonListCategory
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testOOoImport.py", line 204, in stepCheckImportedPersonListCategory
    sorted([person_list[i].getFunction() for i in range(num)]))
AssertionError: ['director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director'] != ['Director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director']


FAIL: test_06_AuthorImportFile (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testOOoImport.py", line 581, in test_06_AuthorImportFile
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      AuthorImportFile
      Tic
    > CheckAuthorImportedPersonList
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testOOoImport.py", line 215, in stepCheckAuthorImportedPersonList
    **kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testOOoImport.py", line 204, in stepCheckImportedPersonListCategory
    sorted([person_list[i].getFunction() for i in range(num)]))
AssertionError: ['director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director'] != ['Director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director']


FAIL: test_08_ImportFileWithAccentuatedText (testOOoImport.TestOOoImport)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testOOoImport.py", line 601, in test_08_ImportFileWithAccentuatedText
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      ImportFileWithAccentuatedText
      Tic
    > CheckImportedPersonListAccentuated
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.1/Products/ERP5OOo/tests/testOOoImport.py", line 247, in stepCheckImportedPersonListAccentuated
    sorted([person_list[i].getFunction() for i in range(num)]))
AssertionError: ['director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director'] != ['Director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director', 'director']


FAIL: test_sourceSectionIsSetOnMovements (testPayroll.TestPayroll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testPayroll.py", line 2157, in test_sourceSectionIsSetOnMovements
    sequence_list.play(self)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 207, in play
    sequence.play(context, sequence_number=i, quiet=quiet)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 128, in play
    .play(context, sequence=self, quiet=quiet)
    Current Sequence:
      CreateUrssafService
      CreateLabourService
      CreateEmployer
      CreateEmployee
      CreatePriceCurrency
      CreateBasicModel
      Tic
      ModelCreateUrssafModelLine
      UrssafModelLineCreateMovements
      CreateBasicPaysheet
      PaysheetCreateLabourPaySheetLine
      Tic
      CreateBusinessProcess
      CreateBusinessLink
      CreateUrssafRoubaixOrganisation
      ModifyBusinessLinkTradePhase
      ModelSpecialiseBusinessProcess
      Tic
      PaysheetApplyTransformation
      Tic
    > CheckSourceSectionOnMovements
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/Sequence.py", line 92, in play
    method(sequence=sequence)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testPayroll.py", line 975, in stepCheckSourceSectionOnMovements
    self.assertEquals(cell1.getSourceSectionValue(), urssaf_roubaix)
AssertionError: <Person at /erp5_portal_1f959768674d155451cb63f0b9097eef/person_module/22> != <Organisation at /erp5_portal_1f959768674d155451cb63f0b9097eef/organisation_module/43>


FAIL: test_tradeModelLineWithRounding (testTradeModelLine.TestTradeModelLineSale)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testTradeModelLine.py", line 1159, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


FAIL: test_tradeModelLineWithRounding (testTradeModelLinePurchase.TestTradeModelLinePurchase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5/tests/testTradeModelLine.py", line 1159, in test_tradeModelLineWithRounding
    self.assertEqual(2, len(amount_list)) # XXX 1 or 2 ???
AssertionError: 2 != 1


ERROR: testBase_updateCalendarEventListWithERP5User (testUNGSecurity.TestUNGSecurity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/bt5/erp5_web_ung_role/TestTemplateItem/testUNGSecurity.py", line 140, in testBase_updateCalendarEventListWithERP5User
    event_list = self.portal.Base_updateCalendarEventList("list")
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 324, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.2/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1282, in _exec
    return PythonScript_exec(self, *args)
  File "/home/jm/buildout-2.12/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 34, in Base_updateCalendarEventList
Unauthorized: You are not allowed to access 'event_module' in this context


FAIL: test_duplicatingSelectionNameInListbox (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5Type/tests/backportUnittest.py", line 151, in run
    testMethod()
  File "/home/jm/slave/full.ERP5_z212/build/unit_test.4/Products/ERP5/tests/testXHTML.py", line 252, in test_duplicatingSelectionNameInListbox
    portal_skins.SkinsTool_checkDuplicateSelectionName())
AssertionError: Repeated listbox selection names:
'entity_support_request_selection' 
	'Base_viewEventList/ticket_listbox': ['erp5_crm']
	'Entity_viewEventList/support_request_listbox': ['erp5_crm']
'entity_related_event_selection' 
	'Base_viewEventList/listbox': ['erp5_crm']
	'Entity_viewEventList/listbox': ['erp5_crm']
'project_monthly_report_selection' 
	'Project_viewMonthlySummaryReportData/listbox': ['erp5_project']
	'Project_viewMonthlyReportData/listbox': ['erp5_project']



More information about the Erp5-report mailing list