[IMP] tests:
authorVo Minh Thu <vmt@openerp.com>
Fri, 2 Mar 2012 11:02:27 +0000 (12:02 +0100)
committerVo Minh Thu <vmt@openerp.com>
Fri, 2 Mar 2012 11:02:27 +0000 (12:02 +0100)
commitdc34d73695987a1a017c4375b785ba7882eee208
tree79bbdaa1860b3a85eb5f4e2534fdcb84a42c341b
parent632311195013fbbded97a9c41202b63f70a3482a
[IMP] tests:
- pass around the assertion_report to the YAML importer
- removed TestReport, which was identical to assertion_report
- assertion_report is simpler (no more severity level)
- use the report to log a greppable sentence when some test failed.
Previously the runbot had to grep for a Traceback which was an
unreliable technique (e.g. an exception can be purposefuly
generated as part of a test and the associated traceback
visible in the logs). Now it can grep
  "At least one test failed when loading the modules".

bzr revid: vmt@openerp.com-20120302110227-nqrl7i46ju28ntdr
openerp/modules/loading.py
openerp/modules/module.py
openerp/tools/assertion_report.py [new file with mode: 0644]
openerp/tools/convert.py
openerp/tools/yaml_import.py