Skip to content

Commit 5685b3e

Browse files
committed
[IMP] fieldservice: tests changes for 17
1 parent 1a8cce4 commit 5685b3e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

fieldservice/tests/test_fsm_category.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from . import test_fsm_order
77

88

9-
class TestFsmCategory(test_fsm_order.TestFSMOrder):
9+
class TestFsmCategory(test_fsm_order.TestFSMOrderBase):
1010
@classmethod
1111
def setUpClass(cls):
1212
super().setUpClass()

fieldservice/tests/test_fsm_order.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66

77
from odoo import fields
88
from odoo.exceptions import UserError, ValidationError
9-
from odoo.tests.common import Form, TransactionCase
9+
from odoo.tests import Form
10+
11+
from odoo.addons.base.tests.common import BaseCommon
1012

1113

1214
@freeze_time("2023-02-01")
13-
class TestFSMOrderBase(TransactionCase):
15+
class TestFSMOrderBase(BaseCommon):
1416
@classmethod
1517
def setUpClass(cls):
1618
super().setUpClass()

0 commit comments

Comments
 (0)