[FIX] web_pivot_computed_measure: Add tear_down to avoid incompatibilities with other tests

pull/3015/head
Carlos Roca 2024-12-12 08:50:06 +01:00
parent bdd51bc74b
commit 3a06051b1c
1 changed files with 5 additions and 0 deletions

View File

@ -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",