mirror of https://github.com/OCA/web.git
[FIX] web_pivot_computed_measure: Add tear_down to avoid incompatibilities with other tests
parent
bdd51bc74b
commit
3a06051b1c
|
@ -28,6 +28,11 @@ class TestUIPivot(common.HttpCase):
|
||||||
action = cls.env.ref("base.action_res_users")
|
action = cls.env.ref("base.action_res_users")
|
||||||
action.view_mode += ",pivot"
|
action.view_mode += ",pivot"
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def tearDownClass(cls):
|
||||||
|
cls.loader.restore_registry()
|
||||||
|
return super().tearDownClass()
|
||||||
|
|
||||||
def test_ui(self):
|
def test_ui(self):
|
||||||
self.start_tour(
|
self.start_tour(
|
||||||
"/web",
|
"/web",
|
||||||
|
|
Loading…
Reference in New Issue