Skip to content

Commit

Permalink
Fixed probe module missing get_verify_location command (#982)
Browse files Browse the repository at this point in the history
* Fixed probe module missing `get_verify_location` command

Signed-off-by: AssemblyJohn <ioan.bogdann@gmail.com>

* Add missing get_verify_location implementation

Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>

---------

Signed-off-by: AssemblyJohn <ioan.bogdann@gmail.com>
Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
Co-authored-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
  • Loading branch information
AssemblyJohn and hikinggrass authored Dec 4, 2024
1 parent 274abb7 commit df448c1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/ocpp_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit df448c1

Please sign in to comment.