diff options
| author | Xavier-Do <xdo@odoo.com> | 2019-07-29 14:59:51 +0000 |
|---|---|---|
| committer | Xavier-Do <xdo@odoo.com> | 2019-07-30 09:15:30 +0000 |
| commit | 22930162727a22db9cb6cb300eaa0852e3f5085a (patch) | |
| tree | 9efccdd99e011610687d0b5ee9b1fa70aa8177a6 /doc/reference/javascript_reference.rst | |
| parent | 4f33ae16154b9c5203c231f8dbe9425696e3291d (diff) | |
[FIX] core: log error on addSubTest
Since #34996, in some case, the error detail was not logged keeping
only the final summary "x errors, x failures" when running TestSuite.
Making fail test test_cache_invalidation for instance won't show
a detailed message when breaking test_01_project_tour will.
This issue occurs when using subtest, like with assertQueryCount,
@users decorator, test_all_l10n, and test_youtube_urls.
Since Testresult addSubTest append directly to error and failures
instead of calling addError and addFailure, we need to ovewrite
addSubtest too.
closes odoo/odoo#35270
Signed-off-by: Denis Ledoux <beledouxdenis@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
