diff options
| author | Richard Mathot <rim@odoo.com> | 2017-10-03 13:14:16 +0200 |
|---|---|---|
| committer | Richard Mathot <rim@odoo.com> | 2017-10-03 14:29:01 +0200 |
| commit | e2349f45469e7075793a8da1ec78ddb3037ba4d5 (patch) | |
| tree | cf50afe0ee96cca8d4448ecb47008713daf91547 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 489245a5ee90a1a1350302b8e4af1e7b7b340e99 (diff) | |
[FIX] odoo: bad imports in tests don't fail silently anymore
Before this fix, you can break a test class by simply adding an
incorrect import like this:
`from gloubiboulga import Casimir`
--> No error message, the test is simply not run
This is due to the fact that we want to ignore ImportError's... only
when there is no `.tests` submodules (actually, we ignored them all!)
This commit fixes the condition and re-enables error logging when tests
actually encounter ImportErrors
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
