[Erp5-report] ERP5 r36455 : 3617 Tests, 2 Errors, 11 Failures, 48 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 18 23:53:04 CEST 2010


Test Suite: ERP5
Revision: 36455
Result: FAIL

All tests: 3617
Failures: 11
Errors: 2
Skips: 48


The following tests failed:

  testAdvancedInvoicing                              (1 errors)
   test_09_Reference (testAdvancedInvoicing.TestAdvancedSaleInvoice)

  testERP5Catalog                                    (1 failures, 3 skips)
   test_48bis_ERP5Site_hotReindexAllCheckCachedValues (testERP5Catalog.TestERP5Catalog)

  testERP5CurrencyExchangeLine                       (1 failures)
   test_CreateCELWithNoBasePrice (testERP5CurrencyExchangeLine.TestCurrencyExchangeLine)

  testERP5Simulation                                 (2 failures, 5 skips)
   test_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
   test_18_compareInvoiceAndPackingList (testERP5Simulation.TestERP5SimulationInvoice)

  testICal                                           (1 failures)
   test_01_renderEvent (testICal.TestICal)

  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.

  testTranslation                                    (1 failures, 1 skips)
   test_06_FrenchTranslationOfMessageWithContext (testTranslation.TestWorkflowStateTitleTranslation)

  testXHTML                                          (1 failures)
   test_configurationOfFieldLibrary (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                                 (5 skips)

  testERP5TypeInterfaces                             (1 skips)

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

  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)

The following tests have an unknown status:
'Products/ERP5Type/tests/runUnitTest.py' '--verbose' '--erp5_sql_connection_string' 'test5 test' '--load' '--activity_node=2' 'testInvalidationBug'
-------------- next part --------------

ERROR: test_09_Reference (testAdvancedInvoicing.TestAdvancedSaleInvoice)
----------------------------------------------------------------------
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/testAdvancedInvoicing.py", line 905, in test_09_Reference
    self.portal.portal_workflow.doActionFor(invoice, 'confirm_action')
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 301, in doActionFor
    return self._invokeWithNotification(
  File "/usr/lib/erp5/lib/python/Products/CMFCore/WorkflowTool.py", line 616, in _invokeWithNotification
    res = func(*args, **kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 287, in doActionFor
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 405, in DCWorkflowDefinition_executeTransition
    script()
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/Base.py", line 243, in __call__
    wf[wf_id].notifyWorkflowMethod(instance, transition_list, args=args, kw=kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/patches/WorkflowTool.py", line 62, in DCWorkflowDefinition_notifyWorkflowMethod
    self._changeStateOf(ob, tdef, kw)
  File "/usr/lib/erp5/lib/python/Products/DCWorkflow/DCWorkflow.py", line 472, in _changeStateOf
    sdef = self._executeTransition(ob, tdef, kwargs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/patches/DCWorkflow.py", line 331, in DCWorkflowDefinition_executeTransition
    script(sci)  # May throw an exception.
  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.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/tests/ERP5TypeTestCase.py", line 1253, in _exec
    return PythonScript_exec(self, *args)
  File "/usr/lib/erp5/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 32, in setReferences
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Tool/IdTool.py", line 137, in generateNewId
    default=default)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Document/IdGenerator.py", line 80, in generateNewId
    return self._getLatestSpecialiseValue().generateNewId(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Document/IdGenerator.py", line 80, in generateNewId
    return self._getLatestSpecialiseValue().generateNewId(*args, **kw)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Document/SQLNonContinuousIncreasingIdGenerator.py", line 144, in generateNewId
    return self._generateNewId(id_group=id_group, default=default)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5/Document/SQLNonContinuousIncreasingIdGenerator.py", line 80, in _generateNewId
    default=default)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ERP5Type/patches/DA.py", line 223, in DA__call__
    result=DB__.query(query, self.max_rows_)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/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.blade-nxd1-10.4/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.blade-nxd1-10.4/build/unit_test/Products/ZMySQLDA/db.py", line 441, in query
    c = self._query(qs)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.4/build/unit_test/Products/ZMySQLDA/db.py", line 398, in _query
    raise ConflictError('%s: %s: %s' % (m[0], m[1], query))
ConflictError: 1205: Lock wait timeout exceeded; try restarting transaction: INSERT INTO portal_ids (`id_group`, `last_id`)
 VALUES ('(\'accounting\', \'invoice\', \'organisation_module/34\')', 1)
 ON DUPLICATE KEY UPDATE `last_id` = `last_id` + 1


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


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_09_InvoiceChangeStartDateFail (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
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/testInvoice.py", line 2828, in test_09_InvoiceChangeStartDateFail
    self.playSequence(sequence, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testAccountingRules.py", line 116, in playSequence
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/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.3/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      CheckInvoiceTransactionRule
      Tic
      CheckInvoiceBuilding
      ChangeInvoiceStartDate
      CheckInvoiceIsDivergent
      CheckInvoiceIsCalculating
      Tic
      CheckInvoiceIsDiverged
      UnifyStartDateWithDecisionInvoice
      Tic
      CheckInvoiceNotSplitted
      CheckInvoiceIsNotDivergent
      CheckInvoiceIsSolved
    > CheckPackingListIsDivergent
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testPackingList.py", line 189, in stepCheckPackingListIsDivergent
    self.assertTrue(packing_list.isDivergent())
AssertionError


FAIL: test_18_compareInvoiceAndPackingList (testERP5Simulation.TestERP5SimulationInvoice)
----------------------------------------------------------------------
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/testInvoice.py", line 3400, in test_18_compareInvoiceAndPackingList
    sequence_list.play(self, quiet=quiet)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/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.3/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 113, in play
    self._step_list[self._played_index] \
    Current Sequence:
      CreateEntities
      CreateCurrency
      CreateSaleInvoiceTransactionRule
      CreateOrder
      SetOrderProfile
      SetOrderPriceCurrency
      CreateNotVariatedResource
      Tic
      CreateOrderLine
      SetOrderLineResource
      SetOrderLineDefaultValues
      OrderOrder
      Tic
      CheckDeliveryBuilding
      ConfirmOrder
      Tic
      CheckOrderRule
      CheckOrderSimulation
      CheckDeliveryBuilding
      AddPackingListContainer
      AddPackingListContainerLine
      SetContainerLineFullQuantity
      Tic
      CheckPackingListIsPacked
      SetReadyPackingList
      Tic
      StartPackingList
      CheckInvoicingRule
      Tic
      CheckInvoiceBuilding
      CheckInvoicesConsistency
    > CheckPackingListInvoice
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5Type/tests/Sequence.py", line 96, in play
    method(sequence=sequence)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.3/build/unit_test/Products/ERP5/tests/testInvoice.py", line 608, in stepCheckPackingListInvoice
    self.assertEquals(packing_list.getSource(), invoice.getSource())
AssertionError: 'organisation_module/146' != 'organisation_module/148'


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'

Loading Zope ... 
Cleaning static files ... 
Restoring MySQL database ... 
Restoring static files ... 
Traceback (most recent call last):
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/Products/ERP5Type/tests/runUnitTest.py", line 726, in ?
    sys.exit(main())
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/Products/ERP5Type/tests/runUnitTest.py", line 710, in main
    debug=debug)
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/Products/ERP5Type/tests/runUnitTest.py", line 532, in runUnitTestList
    transaction.commit()
  File "/usr/lib/erp5/lib/python/transaction/_manager.py", line 84, in commit
    self.get().commit(sub)
  File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 381, in commit
    self._saveCommitishError() # This raises!
  File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 379, in commit
    self._commitResources()
  File "/usr/lib/erp5/lib/python/transaction/_transaction.py", line 424, in _commitResources
    rm.commit(self)
  File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 462, in commit
    self._commit(transaction)
  File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 503, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/usr/lib/erp5/lib/python/ZODB/Connection.py", line 525, in _store_objects
    p = writer.serialize(obj)  # This calls __getstate__ of obj
  File "/usr/lib/erp5/lib/python/ZODB/serialize.py", line 330, in serialize
    return self._dump(meta, obj.__getstate__())
  File "/usr/lib/erp5/lib/python/ZODB/serialize.py", line 339, in _dump
    self._p.dump(state)
  File "/usr/lib/erp5/lib/python/ZODB/serialize.py", line 277, in persistent_id
    oid = obj._p_oid = self._jar.new_oid()
  File "/usr/lib/erp5/lib/python/ZODB/DemoStorage.py", line 125, in new_oid
    return self._base.new_oid()
  File "/usr/lib/erp5/lib/python/ZODB/BaseStorage.py", line 150, in new_oid
    raise POSException.ReadOnlyError()
ZODB.POSException.ReadOnlyError
Traceback (most recent call last):
  File "Products/ERP5Type/tests/runUnitTest.py", line 726, in ?
    sys.exit(main())
  File "Products/ERP5Type/tests/runUnitTest.py", line 710, in main
    debug=debug)
  File "Products/ERP5Type/tests/runUnitTest.py", line 396, in runUnitTestList
    from Testing import ZopeTestCase # Zope 2.8: this will import custom_zodb.py
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/__init__.py", line 18, in ?
    import ZopeLite as Zope2
  File "/usr/lib/erp5/lib/python/Testing/ZopeTestCase/ZopeLite.py", line 139, in ?
    _theApp = Zope2.app()
  File "/usr/lib/erp5/lib/python/Zope2/__init__.py", line 51, in app
    startup()
  File "/usr/lib/erp5/lib/python/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/usr/lib/erp5/lib/python/Zope2/App/startup.py", line 60, in startup
    m=imp.load_module('Zope2.custom_zodb', m[0], m[1], m[2])
  File "/home/buildbot/slave/full.ERP5.blade-nxd1-10.5/build/unit_test/custom_zodb.py", line 99, in ?
    zeo_client = eval(os.fdopen(r).read())
  File "<string>", line 0
    
    ^
SyntaxError: unexpected EOF while parsing

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.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/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_06_FrenchTranslationOfMessageWithContext (testTranslation.TestWorkflowStateTitleTranslation)
----------------------------------------------------------------------
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/testTranslation.py", line 288, in test_06_FrenchTranslationOfMessageWithContext
    self.assertTrue(len(self.portal.portal_catalog(
AssertionError


FAIL: test_configurationOfFieldLibrary (testXHTML.TestXHTML)
----------------------------------------------------------------------
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/testXHTML.py", line 205, in test_configurationOfFieldLibrary
    self.fail(message)
AssertionError: 4 fields to modify
	erp5_trade/Base_viewTradeFieldLibrary/my_dialog_mode_listbox_inventory: Unused Proxy Field
	erp5_trade/Base_viewTradeFieldLibrary/my_dialog_mode_listbox_reference: Unused Proxy Field
	erp5_trade/Base_viewTradeFieldLibrary/my_dialog_mode_listbox_title: Unused Proxy Field
	erp5_trade/Base_viewTradeFieldLibrary/my_dialog_mode_total_price: Unused Proxy Field


More information about the Erp5-report mailing list