[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:
Martin Trigaux
2020-07-16 10:20:43 +00:00
parent e61a3bc15a
commit 14940225f2
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -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