mirror of
https://gitlab.com/flectra-community/server-ux.git
synced 2024-11-24 07:02:07 +00:00
23 lines
689 B
Python
23 lines
689 B
Python
# Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
|
|
|
from flectra_test_helper import FakeModelLoader
|
|
|
|
from flectra.tests import common
|
|
|
|
|
|
class CommonTestMultiStepWizard(common.TransactionCase):
|
|
@classmethod
|
|
def setUpClass(cls):
|
|
super().setUpClass()
|
|
cls.loader = FakeModelLoader(cls.env, cls.__module__)
|
|
cls.loader.backup_registry()
|
|
from .multi_step_wizard_test import MultiStepWizardTest
|
|
|
|
cls.loader.update_registry((MultiStepWizardTest,))
|
|
|
|
@classmethod
|
|
def tearDownClass(cls):
|
|
cls.loader.restore_registry()
|
|
return super().tearDownClass()
|