[Erp5-report] ERP5_z28 r24454: 2277 Tests, 2 Errors, 14 Failures

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 4 06:18:37 CET 2008


Test Suite: ERP5_z28
Revision: 24454
Result: FAIL

All tests: 2277
Failures: 14
Errors: 2


The following tests failed:

  testXHTML                                          (1 failures)
   test.erp5_immobilisation.Immobilisation.Base_viewHistory (testXHTML.TestXHTML)

  testCRM                                            (3 failures)
   test_document_creation (testCRM.TestCRMMailIngestion)
   test_forwarder_mail (testCRM.TestCRMMailIngestion)
   test_portal_type_determination (testCRM.TestCRMMailIngestion)

  testAccountingReports                              (1 failures)
   testJournalTransactionsWithoutThirdParty (testAccountingReports.TestAccountingReports)

  testERP5Web                                        (1 errors)
   Make sure that getDocumentValueList works.

  testTradeReports                                   (1 failures)
   testSaleOrderReport (testTradeReports.TestTradeReports)

  testAlarm                                          (1 failures)
   test_18_alarm_activities_execution_order (testAlarm.TestAlarm)

  testInventoryAPI                                   (1 failures)
   testConvertedInventoryList (testInventoryAPI.TestUnitConversion)

  testDocumentationHelper                            (1 errors)
   test_03_PortalType (testDocumentationHelper.TestDocumentationHelper)

  testERP5Catalog                                    (5 failures)
   test_SearchedStringIsNotStripped (testERP5Catalog.TestERP5Catalog)
   test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog)
   test_complex_query (testERP5Catalog.TestERP5Catalog)
   test_multipleRelatedKeyDoMultipleJoins (testERP5Catalog.TestERP5Catalog)
   test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog)

  testCMFCategory                                    (1 failures)
   test_getSingleCategoryAcquiredMembershipListOnParent (testCMFCategory.TestCMFCategory)
-------------- next part --------------

FAIL: test.erp5_immobilisation.Immobilisation.Base_viewHistory (testXHTML.TestXHTML)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testXHTML.py", line 283, in testMethod
    bt_name=bt_name))
AssertionError: Using w3c validator to parse the view "Base_viewHistory" (from erp5_immobilisation bt) with warning  displayed :
Error: line 722 column 39 : ID "fieldset_bottom" already defined
Error: line 1018 column 39 : ID "fieldset_bottom" already defined



FAIL: test_document_creation (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testCRM.py", line 394, in test_document_creation
    self.assertEquals('message/rfc822', event.getContentType())
AssertionError: 'message/rfc822' != 'application/octet-stream'



FAIL: test_forwarder_mail (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testCRM.py", line 514, in test_forwarder_mail
    self.assertEqual(document.getTitle(), 'Simple Mail Test')
AssertionError: 'Fw:Simple Mail Test' != 'Simple Mail Test'



FAIL: test_portal_type_determination (testCRM.TestCRMMailIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testCRM.py", line 445, in test_portal_type_determination
    self.assertEqual(document.portal_type, 'Visit')
AssertionError: 'Mail Message' != 'Visit'



FAIL: testJournalTransactionsWithoutThirdParty (testAccountingReports.TestAccountingReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testAccountingReports.py", line 369, in testJournalTransactionsWithoutThirdParty
    credit=0)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 936, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`specific_reference`: expected: '2006-8' actual: '2006-4'



ERROR: Make sure that getDocumentValueList works.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testERP5Web.py", line 890, in test_15_getDocumentValueList
    sort_on=[('translated_portal_type', 'ascending')])
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/Document/WebSection.py", line 257, in getDocumentValueList
    fallback_script_id='WebSection_getDocumentValueList')(**kw)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 986, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 3, in WebSection_getDocumentValueList
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 341, in guarded_apply
    return builtin_guarded_apply(func, args, kws)
  File "/usr/lib/erp5/lib/python/AccessControl/ZopeGuards.py", line 363, in builtin_guarded_apply
    return func(*arglist, **argdict)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 986, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 68, in WebSection_getDocumentValueListBase
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/patches/DA.py", line 220, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 295, in query
    return self._access_db(method_id='query', args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 286, in _access_db
    return getattr(db, method_id)(*args, **kw)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 421, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ZMySQLDA/db.py", line 396, in _query
    raise OperationalError(m[0], '%s: %s' % (m[1], query))
OperationalError: (1054, 'Unknown column \'related_translation_0.translated_message\' in \'order clause\': SELECT\n  catalog.path AS path, catalog.uid AS uid, catalog.modification_date,\n  catalog.reference, catalog.int_index,  catalog.creation_date , catalog.title, \n  catalog.priority\nFROM\n  (\n    SELECT\n      catalog.uid, catalog.path, catalog.int_index, catalog.modification_date,\n      catalog.reference, my_versioning.language, my_versioning.version,\n      catalog.creation_date, catalog.title\n      , MAX(CONCAT(CASE my_versioning.language\n                                       WHEN  \'en\' THEN \'3\'\n                                       WHEN \'en\' THEN \'2\'\n                                       ELSE \'1\' END,\n                            my_versioning.version)) AS priority\n    FROM\n                catalog AS catalog,\n                translation AS related_translation_0,\n            versioning AS my_versioning\n    WHERE\n      my_versioning.uid = catalog.uid\n                AND (((catalog.security_uid IN (2492, 2493, 2494, 2495, 2496, 2497, 2498, 2499, 2500, 2501, 2502)) OR (((((((catalog.viewable_owner = \'zope\'))))))))) AND (((((catalog.portal_type = \'Document\'))))) AND ((((((catalog.validation_state = \'released\')))) OR ((((catalog.validation_state = \'released_alive\')))) OR ((((catalog.validation_state = \'published\')))) OR ((((catalog.validation_state = \'published_alive\')))) OR ((((catalog.validation_state = \'shared\')))) OR ((((catalog.validation_state = \'shared_alive\')))) OR ((((catalog.validation_state = \'public\')))) OR ((((catalog.validation_state = \'validated\')))))) AND (related_translation_0.original_message = catalog.portal_type\n AND related_translation_0.message_context = "portal_type"\n AND related_translation_0.language = \'en\')\n            AND my_versioning.language = \'en\' \n    GROUP BY\n      catalog.uid\n    ORDER BY\n      priority DESC\n  ) AS catalog, versioning AS my_versioning\n     WHERE\n          catalog.uid = my_versioning.uid\n     GROUP BY\n       catalog.reference\n     HAVING \n         MAX(CONCAT(CASE my_versioning.language\n                                       WHEN  \'en\' THEN \'3\'\n                                       WHEN \'en\' THEN \'2\'\n                                       ELSE \'1\' END,\n                            my_versioning.version)) = catalog.priority\n  ORDER BY\n   related_translation_0.translated_message\n\n  LIMIT 1000')



FAIL: testSaleOrderReport (testTradeReports.TestTradeReports)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testTradeReports.py", line 342, in testSaleOrderReport
    self.checkLineProperties(data_line_list[1],**d)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 936, in checkLineProperties
    self.fail('Lines differs:\n' + '\n'.join(diff_list))
AssertionError: Lines differs:
`Quantity Unit 2006`: expected: 'G' actual: None



FAIL: test_18_alarm_activities_execution_order (testAlarm.TestAlarm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testAlarm.py", line 578, in test_18_alarm_activities_execution_order
    self.assertEquals(m.activity_kw.get('tag'), '1')
AssertionError: '3' != '1'



FAIL: testConvertedInventoryList (testInventoryAPI.TestUnitConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5/tests/testInventoryAPI.py", line 2193, in testConvertedInventoryList
    simulation('mass/net', quantity_unit=.001))
AssertionError: 564 != 1353.0



ERROR: test_03_PortalType (testDocumentationHelper.TestDocumentationHelper)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/Products/ERP5Type/tests/testDocumentationHelper.py", line 110, in test_03_PortalType
    self.portal.portal_classes.DocumentationHelper_viewReport()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Form/Report.py", line 147, in __call__
    return pt.pt_render(extra_context=extra_context)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 742, in do_defineSlot
    self.interpret(block)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 734, in do_defineSlot
    self.interpret(slot)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 651, in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 206, in setRepeat
    expr = self.evaluate(expr)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
    return self._eval(econtext)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/Expressions.py", line 77, in render
    ob = call_with_ns(ob.__render_with_namespace__, ns)
  File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 76, in call_with_ns
    return f(td)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 325, in __render_with_namespace__
    return self._bindAndExec((), namevals, namespace)
  File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 986, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 324, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 70, in DocumentationHelper_getDocumentationSectionList
Unauthorized: You are not allowed to access 'getDescription' in this context



FAIL: test_SearchedStringIsNotStripped (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2715, in test_SearchedStringIsNotStripped
    compareSet(' foo', [second_doc])
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2713, in compareSet
    self.assertSameSet(document_list, [x.getObject() for x in result])
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 546, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/86>] != [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/85>]



FAIL: test_SubDocumentsWithAcquireLocalRoleSecurityIndexing (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 1974, in test_SubDocumentsWithAcquireLocalRoleSecurityIndexing
    self.assertSameSet([obj, ], [x.getObject() for x in result])
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 546, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: [<Url at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/88/1>] != []



FAIL: test_complex_query (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2261, in test_complex_query
    self.assertEqual(len(catalog(query=query)), 3)
AssertionError: 2 != 3



FAIL: test_multipleRelatedKeyDoMultipleJoins (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2818, in test_multipleRelatedKeyDoMultipleJoins
    operator='AND'))
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2776, in check
    '%s:\nExpected: %r\nGot: %r' % (description,
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 546, in failIfDifferentSet
    self.failUnless(i in b, msg)
AssertionError: site_reference="foo" AND site_description="bar":
Expected: ['object_1', 'object_12', 'object_13', 'object_14', 'object_23']
Got: ['object_14', 'object_13', 'object_12', 'object_1']



FAIL: test_sortOnRelatedKeyWithUnsetRelation (testERP5Catalog.TestERP5Catalog)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 2753, in test_sortOnRelatedKeyWithUnsetRelation
    len(person_module.searchFolder(sort_on=[('subordination_title', 'ascending')])))
AssertionError: 2 != 1



FAIL: test_getSingleCategoryAcquiredMembershipListOnParent (testCMFCategory.TestCMFCategory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/buildbot/slave/full.ERP5_z28/build/unit_test/Products/CMFCategory/tests/testCMFCategory.py", line 973, in test_getSingleCategoryAcquiredMembershipListOnParent
    portal_type='Person Module'))
AssertionError: ['person_module'] != [<Folder at /erp5_portal_375fd2e06bb46325945c05a27d83aefb/person_module>]



More information about the Erp5-report mailing list