mirror of
https://gitlab.com/flectra-community/server-ux.git
synced 2024-11-15 02:32:06 +00:00
23 lines
680 B
Python
23 lines
680 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.SavepointCase):
|
||
|
@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()
|
||
|
super().tearDownClass()
|