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