[FIX] *: do not import tests folder

saas-13.5 version of odoo/odoo@15f2bbd40a

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#57728

X-original-commit: 5a74fdad59144a68ed8b6670dbd63731c8090048
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Martin Trigaux
2020-09-15 11:36:12 +00:00
parent 917928eb08
commit 776ef47492
6 changed files with 0 additions and 6 deletions
-1
View File
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
from . import models
from . import tests
-1
View File
@@ -2,4 +2,3 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from. import models
from. import tests
-1
View File
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
from . import models
from . import tests
from . import wizard
from . import controllers
-1
View File
@@ -2,5 +2,4 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
from . import tests
from . import wizard
-1
View File
@@ -2,7 +2,6 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
from . import tests
from . import wizard
from odoo import api, SUPERUSER_ID
@@ -3,4 +3,3 @@
from . import controllers
from . import models
from . import tests