From 0b880a52362e27e1a1d56a30e6cdc1c288af767d Mon Sep 17 00:00:00 2001 From: hanzawnyein Date: Thu, 31 Oct 2024 14:34:59 +0630 Subject: [PATCH] [FIX] auth_session_timeout : fix code refactoring for super --- auth_session_timeout/tests/test_ir_config_parameter.py | 1 - auth_session_timeout/tests/test_res_users.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/auth_session_timeout/tests/test_ir_config_parameter.py b/auth_session_timeout/tests/test_ir_config_parameter.py index 7dbb4cd7c9..09fa2ca69b 100644 --- a/auth_session_timeout/tests/test_ir_config_parameter.py +++ b/auth_session_timeout/tests/test_ir_config_parameter.py @@ -7,7 +7,6 @@ class TestIrConfigParameter(common.TransactionCase): def setUp(self): - super(TestIrConfigParameter, self).setUp() self.db = self.env.cr.dbname self.param_obj = self.env["ir.config_parameter"] self.data_obj = self.env["ir.model.data"] diff --git a/auth_session_timeout/tests/test_res_users.py b/auth_session_timeout/tests/test_res_users.py index 657adb441e..9e767f8ade 100644 --- a/auth_session_timeout/tests/test_res_users.py +++ b/auth_session_timeout/tests/test_res_users.py @@ -15,7 +15,7 @@ class EndTestException(Exception): class TestResUsers(TransactionCase): def setUp(self): - super(TestResUsers, self).setUp() + # super(TestResUsers, self).setUp() self.ResUsers = self.env["res.users"] @contextmanager