From fdd926fd6a0527b29dea74bc2c512adbf3972258 Mon Sep 17 00:00:00 2001 From: Kai-Uwe Hermann Date: Fri, 22 Dec 2023 20:01:37 +0100 Subject: [PATCH] Update config adjustment Signed-off-by: Kai-Uwe Hermann --- tests/core_tests/config_tests.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/core_tests/config_tests.py b/tests/core_tests/config_tests.py index 5dbca3184..2b39f4576 100644 --- a/tests/core_tests/config_tests.py +++ b/tests/core_tests/config_tests.py @@ -15,11 +15,10 @@ from everest.testing.core_utils.fixtures import * from everest.testing.core_utils.everest_core import EverestCore -from everest.testing.core_utils.configuration.everest_configuration_visitors.everest_configuration_visitor import \ - EverestConfigAdjustmentVisitor +from everest.testing.core_utils import EverestConfigAdjustmentStrategy -class EverestCoreConfigSilGenPmConfigurationVisitor(EverestConfigAdjustmentVisitor): +class EverestCoreConfigSilGenPmConfigurationAdjustment(EverestConfigAdjustmentStrategy): def __init__(self): self.temporary_directory = mkdtemp() self.serial_port_0, self.serial_port_1 = pty.openpty() @@ -35,7 +34,7 @@ def adjust_everest_configuration(self, everest_config: Dict): @pytest.mark.everest_core_config('config-sil-gen-pm.yaml') -@pytest.mark.everest_config_adaptions(EverestCoreConfigSilGenPmConfigurationVisitor()) +@pytest.mark.everest_config_adaptions(EverestCoreConfigSilGenPmConfigurationAdjustment()) @pytest.mark.asyncio async def test_start_config_sil_gen_pm(everest_core: EverestCore): logging.info(">>>>>>>>> test_start_config_sil_gen_pm <<<<<<<<<")