Browse Source

Merge pull request #762 from akretion/10-fix-base_kanban_stage

[10.0] Fix base_kanban_stage tests
pull/767/head
Dave Lasley 8 years ago
committed by GitHub
parent
commit
628b11d9c3
  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._init_test_model(BaseKanbanAbstractTester)
cls.test_model = cls.env[BaseKanbanAbstractTester._name] cls.test_model = cls.env[BaseKanbanAbstractTester._name]
@classmethod
def tearDownClass(cls):
cls.env.registry.leave_test_mode()
super(TestBaseKanbanAbstract, cls).tearDownClass()
def setUp(self): def setUp(self):
super(TestBaseKanbanAbstract, self).setUp() super(TestBaseKanbanAbstract, self).setUp()
test_stage_1 = self.env['base.kanban.stage'].create({ test_stage_1 = self.env['base.kanban.stage'].create({

Loading…
Cancel
Save