From: Jérôme Benoit Date: Tue, 25 Jun 2024 19:42:13 +0000 (+0200) Subject: Update tests/ocpp-server/server.py X-Git-Tag: v1.3.7~17^2~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7068f7f35112cf086e9b75ff1ee5f9fc2c1b0bb2;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 aa424b7f..98a9d853 100644 --- a/tests/ocpp-server/server.py +++ b/tests/ocpp-server/server.py @@ -154,7 +154,7 @@ async def send_ocpp_command(cp, command_name, delay=None, period=None): match command_name: case Action.ClearCache: logging.info("ClearCache parser working") - await charge_point.send_clear_cache() + await cp.send_clear_cache() case Action.GetBaseReport: logging.info("GetBaseReport parser working") await cp.send_get_base_report()