Browse Source

Leave test mode after base kanban stage tests

12.0
Florian da Costa 8 years ago
committed by mreficent
parent
commit
02f79348dc
  1. 5
      base_kanban_stage/tests/test_base_kanban_abstract.py

5
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({

Loading…
Cancel
Save