[FIX] *: stop importing tests code

When loading a module, the code in the tests directories should not be
loaded.
One does not need freezegun on a server without running the tests.

closes odoo/odoo#113536

X-original-commit: 705c5d5dd9b76850638bd5d36b8395314ba78248
Related: odoo/enterprise#37481
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Martin Trigaux
2023-02-23 18:29:11 +01:00
parent 141bed9360
commit e130d8a1db
4 changed files with 0 additions and 4 deletions
-1
View File
@@ -5,4 +5,3 @@ from . import controllers
from . import models
from . import report
from . import wizard
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
@@ -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
@@ -2,4 +2,3 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
from . import tests