Browse Source

Leave test mode after base kanban stage tests

pull/762/head
Florian da Costa 8 years ago
parent
commit
82c249fa17
  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