From df448c111be8c9696c8df327006512870dd3a7fe Mon Sep 17 00:00:00 2001 From: John Date: Wed, 4 Dec 2024 21:35:29 +0200 Subject: [PATCH] Fixed probe module missing `get_verify_location` command (#982) * Fixed probe module missing `get_verify_location` command Signed-off-by: AssemblyJohn * Add missing get_verify_location implementation Signed-off-by: Kai-Uwe Hermann --------- Signed-off-by: AssemblyJohn Signed-off-by: Kai-Uwe Hermann Co-authored-by: Kai-Uwe Hermann --- tests/ocpp_tests/conftest.py | 7 +++++++ .../ocpp16/ocpp_generic_interface_integration_tests.py | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/tests/ocpp_tests/conftest.py b/tests/ocpp_tests/conftest.py index 3fed598ba..53bce2875 100644 --- a/tests/ocpp_tests/conftest.py +++ b/tests/ocpp_tests/conftest.py @@ -429,6 +429,13 @@ def probe_module( "get_verify_file", lambda arg: "", ) + implement_command( + module, + skip_implementation, + "ProbeModuleSecurity", + "get_verify_location", + lambda arg: "", + ) implement_command( module, skip_implementation, diff --git a/tests/ocpp_tests/test_sets/ocpp16/ocpp_generic_interface_integration_tests.py b/tests/ocpp_tests/test_sets/ocpp16/ocpp_generic_interface_integration_tests.py index 5307cd4c9..70c0594c2 100644 --- a/tests/ocpp_tests/test_sets/ocpp16/ocpp_generic_interface_integration_tests.py +++ b/tests/ocpp_tests/test_sets/ocpp16/ocpp_generic_interface_integration_tests.py @@ -156,6 +156,12 @@ def _add_pm_command_mock(implementation_id, command, value, skip_implementation) {"status": "NotFound", "info": []}, skip_implementation, ) + _add_pm_command_mock( + "security", + "get_verify_location", + "", + skip_implementation, + ) _add_pm_command_mock("auth", "set_connection_timeout", None, skip_implementation) _add_pm_command_mock("auth", "set_master_pass_group_id", None, skip_implementation) _add_pm_command_mock(