← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 701638] Re: [6.0 rc2] Setup - following tests are not performed after one (test) failed

 

On 12. 01. 11 09:58, Azazahmed Saiyed (OpenERP) wrote:
> Hello,
>
> Thanks for your report and sorry for misunderstood of your point in bug
> specification.
>
> I have checked the scenario and all test cases were not executed after
> failure of any of them. So I am confirming this bug.
>
> Thanks.
>
> ** Changed in: openobject-server
>    Importance: Undecided => Low
>
> ** Changed in: openobject-server
>        Status: New => Confirmed
>
> ** Changed in: openobject-server
>      Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
>
no problem, thank you!

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/701638

Title:
  [6.0 rc2] Setup - following tests are not performed after one (test)
  failed

Status in OpenObject Server:
  Confirmed

Bug description:
  When running install/setup for a new db, if one test failed, the
  following test (which were supposed to be run) are skipped.

  E.g.
  running setup gives the following list of tests for 'account':
  [2011-01-11 19:45:24,115][bs_test_chf] INFO:init:module account: loading demo/account_minimal.xml
  [2011-01-11 19:45:25,210][bs_test_chf] INFO:init:module account: loading test/account_customer_invoice.yml
  [2011-01-11 19:45:26,419][bs_test_chf] INFO:init:module account: loading test/account_supplier_invoice.yml
  [2011-01-11 19:45:27,137][bs_test_chf] INFO:init:module account: loading test/account_change_currency.yml
  [2011-01-11 19:45:27,551][bs_test_chf] INFO:init:module account: loading test/chart_of_account.yml
  [2011-01-11 19:45:27,878][bs_test_chf] INFO:init:module account: loading test/account_period_close.yml
  [2011-01-11 19:45:27,935][bs_test_chf] INFO:init:module account: loading test/account_fiscalyear_close_state.yml
  [2011-01-11 19:45:28,195][bs_test_chf] INFO:init:module account: loading test/account_use_model.yml
  [2011-01-11 19:45:28,423][bs_test_chf] INFO:init:module account: loading test/account_validate_account_move.yml
  [2011-01-11 19:45:28,943][bs_test_chf] INFO:init:module account: loading test/account_fiscalyear_close.yml
  [2011-01-11 19:45:30,389][bs_test_chf] INFO:init:module account: loading test/account_bank_statement.yml
  [2011-01-11 19:45:31,315][bs_test_chf] INFO:init:module account: loading test/account_cash_statement.yml
  [2011-01-11 19:45:33,083][bs_test_chf] INFO:init:module account: loading test/account_report.yml
  [2011-01-11 19:45:50,744][bs_test_chf] INFO:i18n:module account: loading translation file (en_US) for language en_US
  [2011-01-11 19:45:50,745][bs_test_chf] INFO:i18n:loading /home/openerp/addons/account/i18n/en_US.po
  [2011-01-11 19:46:33,994][bs_test_chf] INFO:i18n:module account: loading translation file (fr) for language fr_FR
  [2011-01-11 19:46:33,994][bs_test_chf] INFO:i18n:loading /home/openerp/addons/account/i18n/fr.po

  if the test 'account_customer_invoice.yml' fails, as it happened to me
  (see bug #700685/697110), all following tests are skipped!

  [2011-01-04 15:02:32,280][bs_test2] INFO:init:module account: loading test/account_customer_invoice.yml
  [2011-01-04 15:02:32,566][bs_test2] ERROR:tests.account:('warning', 'Error')
  Traceback (most recent call last):
  ...
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_currency.py", line 102, in _get_conversion_rate
      'at the date: %s') % (currency_symbol, date))
  except_osv: ('warning', 'Error')

  all the following tests missing from the log

  [2011-01-04 15:02:34,024][bs_test2] INFO:init:module account_voucher:
  loading security/ir.model.access.csv

  I don't think this is a "feature"...

  regards,
  b





References