From 6f40a9c60533ec1d0756e26a4b4e356c0434fcc2 Mon Sep 17 00:00:00 2001 From: Simone Orsi Date: Tue, 1 Sep 2026 14:29:34 +0200 Subject: [PATCH] [FIX] queue_job: test var typo --- queue_job/tests/test_run_rob_controller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/queue_job/tests/test_run_rob_controller.py b/queue_job/tests/test_run_rob_controller.py index 0faa61c39..eb1b5cace 100644 --- a/queue_job/tests/test_run_rob_controller.py +++ b/queue_job/tests/test_run_rob_controller.py @@ -10,13 +10,13 @@ class TestRunJobController(TransactionCase): - def setUp(cls): + def setUp(self): super().setUp() def _clean_queue_job(): - cls.env["queue.job"].search([]).unlink() + self.env["queue.job"].search([]).unlink() - cls.addCleanup(_clean_queue_job) + self.addCleanup(_clean_queue_job) def test_get_failure_values(self): method = self.env["res.users"].mapped