[Erp5-report] ERP5 r25553: 2379 Tests, 14 Errors, 8 Failures
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 13 14:22:22 CET 2009
Test Suite: ERP5
Revision: 25553
Result: FAIL
All tests: 2379
Failures: 8
Errors: 14
The following tests failed:
testAccounting (13 errors)
Accounting Periods refuse to close when some transactions are
Accounting Periods does not change other section transactions.
Accounting Periods prevents transactions from being validated when there
Transaction validation and accounts
Transaction validation and balance
Transaction validation and currency
Transaction validation and dates
Transaction validation and payment
Transaction validation removes empty lines
Transaction validation and section
Tests acquisition, categories and portal types are well
Basic test for multi currency accounting
Make sure acounting transactions created by createAccountingTransaction
testTranslation (4 failures)
test_01_EnglishTranslation (testTranslation.TestTranslation)
test_02_FrenchTranslation (testTranslation.TestTranslation)
test_04_PolishTranslation (testTranslation.TestTranslation)
test_05_PortugueseTranslation (testTranslation.TestTranslation)
testSQLCachedWorklist (1 errors)
test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist)
testOpenOrder (1 failures)
testPeriodicityDateList (testOpenOrder.TestOpenOrder)
testERP5Catalog (3 failures)
Sort-on parameter and related key. (Assumes that region_title is a valid related key)
test_SearchedStringIsNotStripped (testERP5Catalog.TestERP5Catalog)
test_multipleRelatedKeyDoMultipleJoins (testERP5Catalog.TestERP5Catalog)
-------------- next part --------------
ERROR: Accounting Periods refuse to close when some transactions are
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Accounting Periods does not change other section transactions.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Accounting Periods prevents transactions from being validated when there
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Transaction validation and accounts
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Transaction validation and balance
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Transaction validation and currency
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Transaction validation and dates
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Transaction validation and payment
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Transaction validation removes empty lines
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Transaction validation and section
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Tests acquisition, categories and portal types are well
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Basic test for multi currency accounting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
ERROR: Make sure acounting transactions created by createAccountingTransaction
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 86, in __call__
self.setUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 399, in setUp
PortalTestCase.setUp(self)
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/PortalTestCase.py", line 62, in setUp
self.afterSetUp()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testAccounting.py", line 2455, in afterSetUp
self.organisation_module = self.portal.organisation_module
AttributeError: organisation_module
FAIL: test_01_EnglishTranslation (testTranslation.TestTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 209, in test_01_EnglishTranslation
self.checkWorkflowStateTitle(quiet=quiet, run=run)
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 202, in checkWorkflowStateTitle
self.fail(self.message)
AssertionError:
'Open'
### Conflicting workflow with common states (ie, what user can see) ###
'order_workflow' 'open' 'Open' ['confirmed']
'production_order_workflow' 'open' 'Open' ['confirmed']
### All conflicting workflows (ie, problems asking to happen) ###
'assignment_workflow' 'open' 'Open'
'career_workflow' 'open' 'Open'
'order_workflow' 'open' 'Open'
'account_workflow' 'validated' 'Open'
'accounting_period_workflow' 'started' 'Open'
'ticket_workflow' 'validated' 'Open'
'bug_workflow' 'confirmed' 'Open'
'production_order_workflow' 'open' 'Open'
'project_workflow' 'validated' 'Open'
FAIL: test_02_FrenchTranslation (testTranslation.TestTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 216, in test_02_FrenchTranslation
self.checkWorkflowStateTitle(quiet=quiet, run=run)
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 202, in checkWorkflowStateTitle
self.fail(self.message)
AssertionError:
'Activé'
### Conflicting workflow with common states (ie, what user can see) ###
'preference_workflow' 'global' 'Globally Enabled' ['enabled']
'preference_workflow' 'enabled' 'Enabled' ['global']
### All conflicting workflows (ie, problems asking to happen) ###
'preference_workflow' 'global' 'Globally Enabled'
'preference_workflow' 'enabled' 'Enabled'
'Ouvert'
### Conflicting workflow with common states (ie, what user can see) ###
'order_workflow' 'open' 'Open' ['confirmed']
'production_order_workflow' 'open' 'Open' ['confirmed']
### All conflicting workflows (ie, problems asking to happen) ###
'assignment_workflow' 'open' 'Open'
'career_workflow' 'open' 'Open'
'order_workflow' 'open' 'Open'
'account_workflow' 'validated' 'Open'
'accounting_period_workflow' 'started' 'Open'
'ticket_workflow' 'validated' 'Open'
'bug_workflow' 'confirmed' 'Open'
'production_order_workflow' 'open' 'Open'
'project_workflow' 'validated' 'Open'
'En cours de calcul'
### Conflicting workflow with common states (ie, what user can see) ###
'delivery_causality_workflow' 'calculating' 'Calculating' ['solving']
'delivery_causality_workflow' 'solving' 'Solving' ['calculating']
'amortisation_transaction_causality_workflow' 'calculating' 'Calculating' ['solving']
'amortisation_transaction_causality_workflow' 'solving' 'Solving' ['calculating']
### All conflicting workflows (ie, problems asking to happen) ###
'delivery_causality_workflow' 'calculating' 'Calculating'
'delivery_causality_workflow' 'solving' 'Solving'
'amortisation_transaction_causality_workflow' 'calculating' 'Calculating'
'amortisation_transaction_causality_workflow' 'solving' 'Solving'
'immobilisation_workflow' 'calculating' 'Calculating'
FAIL: test_04_PolishTranslation (testTranslation.TestTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 230, in test_04_PolishTranslation
self.checkWorkflowStateTitle(quiet=quiet, run=run)
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 202, in checkWorkflowStateTitle
self.fail(self.message)
AssertionError:
'Otwórz'
### Conflicting workflow with common states (ie, what user can see) ###
'order_workflow' 'open' 'Open' ['confirmed']
'production_order_workflow' 'open' 'Open' ['confirmed']
### All conflicting workflows (ie, problems asking to happen) ###
'assignment_workflow' 'open' 'Open'
'career_workflow' 'open' 'Open'
'order_workflow' 'open' 'Open'
'account_workflow' 'validated' 'Open'
'accounting_period_workflow' 'started' 'Open'
'ticket_workflow' 'validated' 'Open'
'bug_workflow' 'confirmed' 'Open'
'production_order_workflow' 'open' 'Open'
'project_workflow' 'validated' 'Open'
FAIL: test_05_PortugueseTranslation (testTranslation.TestTranslation)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 237, in test_05_PortugueseTranslation
self.checkWorkflowStateTitle(quiet=quiet, run=run)
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testTranslation.py", line 202, in checkWorkflowStateTitle
self.fail(self.message)
AssertionError:
'Abrir'
### Conflicting workflow with common states (ie, what user can see) ###
'order_workflow' 'open' 'Open' ['confirmed']
'production_order_workflow' 'open' 'Open' ['confirmed']
### All conflicting workflows (ie, problems asking to happen) ###
'assignment_workflow' 'open' 'Open'
'career_workflow' 'open' 'Open'
'order_workflow' 'open' 'Open'
'account_workflow' 'validated' 'Open'
'accounting_period_workflow' 'started' 'Open'
'ticket_workflow' 'validated' 'Open'
'bug_workflow' 'confirmed' 'Open'
'production_order_workflow' 'open' 'Open'
'project_workflow' 'validated' 'Open'
ERROR: test_02_related_key (testSQLCachedWorklist.TestSQLCachedWorklist)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testWorklist.py", line 367, in test_02_related_key
result = workflow_tool.listActions(object=document)
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 563, in WorkflowTool_listActions
actions.extend(_getWorklistActionList())
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/Cache.py", line 202, in __call__
value = cache_factory(
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/Cache.py", line 109, in __call__
value = callable_object(*args, **kwd)
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 529, in _getWorklistActionList
src__=src__)
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/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1025, 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 9, in Base_getCountFromWorklistTable
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 "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/patches/DA.py", line 224, in DA__call__
result=DB__.query(query, self.max_rows_)
File "/home/buildbot/buildbot_slave/full.ERP5/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/buildbot_slave/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 286, in _access_db
return getattr(db, method_id)(*args, **kw)
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 441, in query
c = self._query(qs)
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ZMySQLDA/db.py", line 396, in _query
raise OperationalError(m[0], '%s: %s' % (m[1], query))
OperationalError: (1054, "Unknown column 'base_category_id' in 'field list': SELECT\n sum(`count`) as count, base_category_id, viewable_owner, portal_type, security_uid\nFROM\n worklist_cache\nWHERE\n ((((security_uid IN (1, 2, 3, 4, 5, 6, 7, 8, 10, 12)) AND (((((portal_type = 'Organisation') AND ((((((NOT (viewable_owner = 'manager'))) AND (((((base_category_id IN ('region', 'role')))))))))))))))))\nGROUP BY\n base_category_id, viewable_owner, portal_type, security_uid LIMIT 1000")
FAIL: testPeriodicityDateList (testOpenOrder.TestOpenOrder)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5/tests/testOpenOrder.py", line 178, in testPeriodicityDateList
[(DateTime(2008,2,1), DateTime(2008,2,29)),
AssertionError: [(DateTime('2008/02/01'), DateTime('2008/02/29')), (DateTime('2008/03/01'), DateTime('2008/03/31')), (DateTime('2008/04/01'), DateTime('2008/04/30')), (DateTime('2008/05/01'), DateTime('2008/05/31')), (DateTime('2008/06/01'), DateTime('2008/06/30')), (DateTime('2008/07/01'), DateTime('2008/07/31')), (DateTime('2008/08/01'), DateTime('2008/08/31')), (DateTime('2008/09/01'), DateTime('2008/09/30')), (DateTime('2008/10/01'), DateTime('2008/10/31')), (DateTime('2008/11/01'), DateTime('2008/11/30')), (DateTime('2008/12/01'), DateTime('2008/12/31'))] != [(DateTime('2008/02/01'), DateTime('2008/02/29')), (DateTime('2008/03/01'), DateTime('2008/03/31')), (DateTime('2008/04/01'), DateTime('2008/04/30')), (DateTime('2008/05/01'), DateTime('2008/05/31')), (DateTime('2008/06/01'), DateTime('2008/06/30')), (DateTime('2008/07/01'), DateTime('2008/07/31')), (DateTime('2008/08/01'), DateTime('2008/08/31')), (DateTime('2008/09/01'), DateTime('2008/09/30')), (DateTime('2008/10/01'), DateTime('2008/10/31')), (DateTime('2008/11/01'), DateTime('2008/11/30')), (DateTime('2008/12/01'), DateTime('2008/12/31'))]
FAIL: Sort-on parameter and related key. (Assumes that region_title is a valid related key)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 968, in test_29_SortOnRelatedKey
sort_on=(('region_title', 'ascending'),))['order_by_expression'].endswith('.`title` ASC'))
AssertionError
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/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 3459, in test_SearchedStringIsNotStripped
compareSet(' foo', [second_doc])
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 3457, in compareSet
self.assertSameSet(document_list, [x.getObject() for x in result])
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, in failIfDifferentSet
self.failUnless(i in b, msg)
AssertionError: [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/92>] != [<Organisation at /erp5_portal_87898169f8a6babfe15e14cbf4d59bab/organisation_module/91>]
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/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 3569, in test_multipleRelatedKeyDoMultipleJoins
operator='AND'))
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Catalog/tests/testERP5Catalog.py", line 3527, in check
'%s:\nExpected: %r\nGot: %r' % (description,
File "/home/buildbot/buildbot_slave/full.ERP5/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 578, 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']
More information about the Erp5-report
mailing list