diff --git a/web_pivot_computed_measure/tests/test_ui_pivot.py b/web_pivot_computed_measure/tests/test_ui_pivot.py index 4e6d57b8c..962c24360 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 @@ class TestUIPivot(common.HttpCase): 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",