From a0bab15d3f2d16463c7232efabde98cc5fd7efac Mon Sep 17 00:00:00 2001 From: Carlos Roca Date: Thu, 12 Dec 2024 08:50:06 +0100 Subject: [PATCH] [FIX] web_pivot_computed_measure: Add tear_down to avoid incompatibilities with other tests --- web_pivot_computed_measure/tests/test_ui_pivot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web_pivot_computed_measure/tests/test_ui_pivot.py b/web_pivot_computed_measure/tests/test_ui_pivot.py index 4e6d57b8c488..962c243607aa 100644 --- a/web_pivot_computed_measure/tests/test_ui_pivot.py +++ b/web_pivot_computed_measure/tests/test_ui_pivot.py @@ -28,6 +28,11 @@ def setUpClass(cls): action = cls.env.ref("base.action_res_users") action.view_mode += ",pivot" + @classmethod + def tearDownClass(cls): + cls.loader.restore_registry() + return super().tearDownClass() + def test_ui(self): self.start_tour( "/web",