[FIX] *: do not import tests folder
The tests must be only imported in a test context, not in a running
context.
Since 92a7f8c a new test requirement was added but it should
not be necessary to run a module, only to execute the tests.
closes odoo/odoo#53628
Related: odoo/enterprise#11882
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
@@ -2,4 +2,3 @@
|
||||
|
||||
from . import models
|
||||
from . import wizard
|
||||
from . import tests
|
||||
|
||||
@@ -3,4 +3,3 @@
|
||||
|
||||
from . import controllers
|
||||
from . import models
|
||||
from . import tests
|
||||
|
||||
Reference in New Issue
Block a user