diff --git a/fleet_vehicle_ownership/tests/test_owner.py b/fleet_vehicle_ownership/tests/test_owner.py index a698f10e..fb70ea3c 100644 --- a/fleet_vehicle_ownership/tests/test_owner.py +++ b/fleet_vehicle_ownership/tests/test_owner.py @@ -1,12 +1,10 @@ # Copyright 2023-Present RPSJR - Raimundo Junior # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from odoo.tests import tagged -from odoo.tests.common import TransactionCase +from odoo.tests import SavepointCase -@tagged("-standard") -class TestFleetVehicleOwner(TransactionCase): +class TestFleetVehicleOwner(SavepointCase): def setUp(self): super().setUp() self.vehicle = self.env["fleet.vehicle"].create( diff --git a/fleet_vehicle_ownership/tests/test_partner.py b/fleet_vehicle_ownership/tests/test_partner.py index 2532c899..e268e9f7 100644 --- a/fleet_vehicle_ownership/tests/test_partner.py +++ b/fleet_vehicle_ownership/tests/test_partner.py @@ -1,9 +1,7 @@ -from odoo.tests import tagged -from odoo.tests.common import TransactionCase +from odoo.tests import SavepointCase -@tagged("-standard") -class TestResPartner(TransactionCase): +class TestResPartner(SavepointCase): def setUp(self): super(TestResPartner, self).setUp()