[FIX] module_analysis: Fix tests

Prevent import error

ImportError: cannot import name 'at_install' from 'odoo.tests.common' (/opt/odoo/odoo/tests/common.py)
pull/2570/head
Víctor Martínez 2023-02-27 17:40:52 +01:00
parent 583d091489
commit a41725cf75
1 changed files with 2 additions and 3 deletions

View File

@ -2,11 +2,10 @@
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.tests.common import TransactionCase, at_install, post_install
from odoo.tests.common import TransactionCase, tagged
@at_install(False)
@post_install(True)
@tagged("-at_install", "post_install")
class TestModule(TransactionCase):
def setUp(self):
super().setUp()