← Back to team overview

openobject-italia-core-devs team mailing list archive

[Bug 1295071] [NEW] l10n_it_fiscalcode - wrong test data

 

Public bug reported:

Running tests of l10n_it_fiscalcode get


2014-03-20 08:06:11,522 24006 TEST public-openerp-buildbot-openerp-italia openerp.tools.yaml_import: I run the wizard
2014-03-20 08:06:11,522 24006 ERROR public-openerp-buildbot-openerp-italia openerp.tools.yaml_import: res_partner_c2c not found when processing /home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/italian-addons-7.0/l10n_it_fiscalcode/test/fiscalcode.yml.
    This Yaml file appears to depend on missing data. This often happens for
    tests that belong to a module's test suite and depend on each other.
Traceback (most recent call last):
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 864, in process
    self._process_node(node)
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 877, in _process_node
    self.process_python(node)
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 550, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/italian-addons-7.0/l10n_it_fiscalcode/test/fiscalcode.yml", line 3, in <module>
    -
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 170, in get_id
    tests that belong to a module's test suite and depend on each other.""" % (checked_xml_id, self.filename))
ValueError: res_partner_c2c not found when processing /home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/italian-addons-7.0/l10n_it_fiscalcode/test/fiscalcode.yml.
    This Yaml file appears to depend on missing data. This often happens for
    tests that belong to a module's test suite and depend on each other.
2014-03-20 08:06:11,523 24006 ERROR public-openerp-buildbot-openerp-italia openerp.modules.loading: module l10n_it_fiscalcode: an exception occurred in a test
Traceback (most recent call last):
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/modules/loading.py", line 83, in load_test
    _load_data(cr, module_name, idref, mode, 'test')
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/modules/loading.py", line 122, in _load_data
    tools.convert_yaml_import(cr, module_name, fp, kind, idref, mode, noupdate, report)
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 928, in yaml_import
    yaml_interpreter.process(yaml_string)
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 864, in process
    self._process_node(node)
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 877, in _process_node
    self.process_python(node)
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 550, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/italian-addons-7.0/l10n_it_fiscalcode/test/fiscalcode.yml", line 3, in <module>
    -
  File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 170, in get_id
    tests that belong to a module's test suite and depend on each other.""" % (checked_xml_id, self.filename))
ValueError: res_partner_c2c not found when processing /home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/italian-addons-7.0/l10n_it_fiscalcode/test/fiscalcode.yml.
    This Yaml file appears to depend on missing data. This often happens for
    tests that belong to a module's test suite and depend on each other.


See at http://buildbot.openerp.agilebg.com/builders/openerp-italia-postgresql-9.1/builds/2/steps/testing/logs/test


l10n_it_fiscalcode/test/fiscalcode.yml should be fixed referring to valid data

** Affects: openobject-italia
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Italia core devs, which is subscribed to OpenERP Italia.
https://bugs.launchpad.net/bugs/1295071

Title:
  l10n_it_fiscalcode - wrong test data

Status in OpenERP Italia:
  New

Bug description:
  Running tests of l10n_it_fiscalcode get

  
  2014-03-20 08:06:11,522 24006 TEST public-openerp-buildbot-openerp-italia openerp.tools.yaml_import: I run the wizard
  2014-03-20 08:06:11,522 24006 ERROR public-openerp-buildbot-openerp-italia openerp.tools.yaml_import: res_partner_c2c not found when processing /home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/italian-addons-7.0/l10n_it_fiscalcode/test/fiscalcode.yml.
      This Yaml file appears to depend on missing data. This often happens for
      tests that belong to a module's test suite and depend on each other.
  Traceback (most recent call last):
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 864, in process
      self._process_node(node)
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 877, in _process_node
      self.process_python(node)
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 550, in process_python
      unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/italian-addons-7.0/l10n_it_fiscalcode/test/fiscalcode.yml", line 3, in <module>
      -
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 170, in get_id
      tests that belong to a module's test suite and depend on each other.""" % (checked_xml_id, self.filename))
  ValueError: res_partner_c2c not found when processing /home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/italian-addons-7.0/l10n_it_fiscalcode/test/fiscalcode.yml.
      This Yaml file appears to depend on missing data. This often happens for
      tests that belong to a module's test suite and depend on each other.
  2014-03-20 08:06:11,523 24006 ERROR public-openerp-buildbot-openerp-italia openerp.modules.loading: module l10n_it_fiscalcode: an exception occurred in a test
  Traceback (most recent call last):
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/modules/loading.py", line 83, in load_test
      _load_data(cr, module_name, idref, mode, 'test')
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/modules/loading.py", line 122, in _load_data
      tools.convert_yaml_import(cr, module_name, fp, kind, idref, mode, noupdate, report)
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 928, in yaml_import
      yaml_interpreter.process(yaml_string)
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 864, in process
      self._process_node(node)
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 877, in _process_node
      self.process_python(node)
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 550, in process_python
      unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/italian-addons-7.0/l10n_it_fiscalcode/test/fiscalcode.yml", line 3, in <module>
      -
    File "/home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/server-7.0/openerp/tools/yaml_import.py", line 170, in get_id
      tests that belong to a module's test suite and depend on each other.""" % (checked_xml_id, self.filename))
  ValueError: res_partner_c2c not found when processing /home/buildslave/public/openerp/openerp-italia-postgresql-9_1/build/parts/italian-addons-7.0/l10n_it_fiscalcode/test/fiscalcode.yml.
      This Yaml file appears to depend on missing data. This often happens for
      tests that belong to a module's test suite and depend on each other.

  
  See at http://buildbot.openerp.agilebg.com/builders/openerp-italia-postgresql-9.1/builds/2/steps/testing/logs/test

  
  l10n_it_fiscalcode/test/fiscalcode.yml should be fixed referring to valid data

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-italia/+bug/1295071/+subscriptions


Follow ups

References