From e97661f18de1f36bdec6dafdb03d3b6950077550 Mon Sep 17 00:00:00 2001 From: thien Date: Mon, 21 Oct 2024 11:28:56 +0700 Subject: [PATCH] [FIX] queue_job: fix test cases from TestDelayable being skipped --- queue_job/tests/test_delayable.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/queue_job/tests/test_delayable.py b/queue_job/tests/test_delayable.py index 097c29f25e..ed9544c9ec 100644 --- a/queue_job/tests/test_delayable.py +++ b/queue_job/tests/test_delayable.py @@ -1,13 +1,14 @@ # copyright 2019 Camptocamp # license agpl-3.0 or later (http://www.gnu.org/licenses/agpl.html) -import unittest from unittest import mock +from odoo.tests import common + from odoo.addons.queue_job.delay import Delayable, DelayableGraph -class TestDelayable(unittest.TestCase): +class TestDelayable(common.BaseCase): def setUp(self): super().setUp() self.recordset = mock.MagicMock(name="recordset")