From 39d32b7191ff76ffb277e6d116caa95e443d326c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 25 Jun 2024 21:39:59 +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 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': -- 2.34.1