diff --git a/attachment_zipped_download/tests/test_attachment_zipped_download.py b/attachment_zipped_download/tests/test_attachment_zipped_download.py index 1422905eee3..c2e75f84c4c 100644 --- a/attachment_zipped_download/tests/test_attachment_zipped_download.py +++ b/attachment_zipped_download/tests/test_attachment_zipped_download.py @@ -4,7 +4,7 @@ from unittest import TestCase from odoo.exceptions import AccessError -from odoo.tests import HttpCase, SavepointCase, new_test_user +from odoo.tests import HttpCase, TransactionCase, new_test_user class TestAttachmentZippedDownloadBase(TestCase): @@ -49,7 +49,7 @@ def test_action_attachments_download(self): self.assertEqual(response.status_code, 200) -class TestAttachmentZipped(SavepointCase, TestAttachmentZippedDownloadBase): +class TestAttachmentZipped(TransactionCase, TestAttachmentZippedDownloadBase): @classmethod def setUpClass(cls): super().setUpClass() diff --git a/attachment_zipped_download/tests/test_ir_attachment_action_download.py b/attachment_zipped_download/tests/test_ir_attachment_action_download.py index 5a5dc988cb0..6023949fb61 100644 --- a/attachment_zipped_download/tests/test_ir_attachment_action_download.py +++ b/attachment_zipped_download/tests/test_ir_attachment_action_download.py @@ -3,12 +3,12 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo_test_helper import FakeModelLoader -from odoo.tests import SavepointCase +from odoo.tests import TransactionCase from .test_attachment_zipped_download import TestAttachmentZippedDownloadBase -class TestMixin(SavepointCase, TestAttachmentZippedDownloadBase): +class TestMixin(TransactionCase, TestAttachmentZippedDownloadBase): @classmethod def setUpClass(cls): super().setUpClass()