Skip to content

Commit

Permalink
[FIX] web_pivot_computed_measure: Add tear_down to avoid incompatibil…
Browse files Browse the repository at this point in the history
…ities with other tests
  • Loading branch information
CarlosRoca13 committed Dec 12, 2024
1 parent dca0a19 commit a0bab15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web_pivot_computed_measure/tests/test_ui_pivot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a0bab15

Please sign in to comment.