From: Jérôme Benoit Date: Tue, 25 Jun 2024 19:41:56 +0000 (+0200) Subject: Update tests/ocpp-server/server.py X-Git-Tag: v1.3.7~17^2~14 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=12798afb447fdc4a24998982e546a7b5334eea03;p=e-mobility-charging-stations-simulator.git Update tests/ocpp-server/server.py --- diff --git a/tests/ocpp-server/server.py b/tests/ocpp-server/server.py index f05e80f4..eec9471e 100644 --- a/tests/ocpp-server/server.py +++ b/tests/ocpp-server/server.py @@ -157,7 +157,7 @@ async def send_ocpp_command(cp, command_name, delay=None, period=None): await charge_point.send_clear_cache() case Action.GetBaseReport: logging.info("GetBaseReport parser working") - await charge_point.send_get_base_report() + await cp.send_get_base_report() case _: logging.warning(f"Unsupported command {command_name}") except Exception as e: