Skip to content

Commit 26681b5

Browse files
committed
[FIX] web_pivot_computed_measure: Add tear_down to avoid incompatibilities with other tests
1 parent 326f793 commit 26681b5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web_pivot_computed_measure/tests/test_ui_pivot.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ def setUpClass(cls):
2828
action = cls.env.ref("base.action_res_users")
2929
action.view_mode += ",pivot"
3030

31+
@classmethod
32+
def tearDownClass(cls):
33+
cls.loader.restore_registry()
34+
return super().tearDownClass()
35+
3136
def test_ui(self):
3237
self.start_tour(
3338
"/web",

0 commit comments

Comments
 (0)