From 82c249fa17a77f2cb336d7a3100d348b95ae5218 Mon Sep 17 00:00:00 2001 From: Florian da Costa Date: Mon, 6 Mar 2017 13:11:29 +0100 Subject: [PATCH] Leave test mode after base kanban stage tests --- base_kanban_stage/tests/test_base_kanban_abstract.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/base_kanban_stage/tests/test_base_kanban_abstract.py b/base_kanban_stage/tests/test_base_kanban_abstract.py index cf564f7e0..dbaf11d7a 100644 --- a/base_kanban_stage/tests/test_base_kanban_abstract.py +++ b/base_kanban_stage/tests/test_base_kanban_abstract.py @@ -48,6 +48,11 @@ class TestBaseKanbanAbstract(SavepointCase): cls._init_test_model(BaseKanbanAbstractTester) cls.test_model = cls.env[BaseKanbanAbstractTester._name] + @classmethod + def tearDownClass(cls): + cls.env.registry.leave_test_mode() + super(TestBaseKanbanAbstract, cls).tearDownClass() + def setUp(self): super(TestBaseKanbanAbstract, self).setUp() test_stage_1 = self.env['base.kanban.stage'].create({