Skip to content
Snippets Groups Projects
Commit 5a74fdad authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] *: do not import tests folder


saas-13.5 version of odoo/odoo@15f2bbd40a70d9d

The tests must be only imported in a test context, not in a running
context.
Since 92a7f8c1 a new test requirement was added but it should
not be necessary to run a module, only to execute the tests.

closes odoo/odoo#57718

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent c47d7c67
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
from . import models
from . import tests
\ No newline at end of file
......@@ -2,4 +2,3 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from. import models
from. import tests
# -*- coding: utf-8 -*-
from . import models
from . import tests
from . import wizard
from . import controllers
......@@ -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
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment