Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Commit c261e8a

Browse files
authored
Add new OCPP201 module parameter: EverestDeviceModelDatabasePath to everest-testing, so that this is written to the temporary test case directory (#189)
Signed-off-by: Piet Gömpel <pietgoempel@gmail.com>
1 parent a03ebb3 commit c261e8a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

everest-testing/src/everest/testing/core_utils/_configuration/everest_configuration_strategies/ocpp_module_configuration_strategy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class OCPPModulePaths201(OCPPModuleConfigurationBase):
2222
DeviceModelConfigPath: str
2323
CoreDatabasePath: str
2424
DeviceModelDatabasePath: str
25-
25+
EverestDeviceModelDatabasePath: str
2626

2727
class OCPPModuleConfigurationStrategy(EverestConfigAdjustmentStrategy):
2828
""" Adjusts the Everest configuration by manipulating the OCPP module configuration to use proper (temporary test) paths.

everest-testing/src/everest/testing/core_utils/_configuration/everest_environment_setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def _create_ocpp_module_configuration_strategy(self,
188188
MessageLogPath=str(temporary_paths.ocpp_message_log_directory),
189189
CoreDatabasePath=str(temporary_paths.ocpp_database_dir),
190190
DeviceModelDatabasePath=str(temporary_paths.ocpp_database_dir / "device_model_storage.db"),
191+
EverestDeviceModelDatabasePath=str(temporary_paths.ocpp_database_dir / "everest_device_model_storage.db")
191192
)
192193
else:
193194
raise ValueError(f"unknown ocpp version {self._ocpp_config.ocpp_version}")

0 commit comments

Comments
 (0)