From 12798afb447fdc4a24998982e546a7b5334eea03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 25 Jun 2024 21:41:56 +0200 Subject: [PATCH] Update tests/ocpp-server/server.py --- tests/ocpp-server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.34.1