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