Skip to content

Commit

Permalink
Update config adjustment
Browse files Browse the repository at this point in the history
Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass committed Dec 22, 2023
1 parent 5f04f34 commit fdd926f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/core_tests/config_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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 <<<<<<<<<")
Expand Down

0 comments on commit fdd926f

Please sign in to comment.