From: Jérôme Benoit Date: Tue, 25 Jun 2024 19:42:07 +0000 (+0200) Subject: Update tests/ocpp-server/server.py X-Git-Tag: v1.3.7~17^2~13 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b5185375d64bf123c5f12e165be4175f77dd8466;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 eec9471e..aa424b7f 100644 --- a/tests/ocpp-server/server.py +++ b/tests/ocpp-server/server.py @@ -149,7 +149,7 @@ async def send_ocpp_command(cp, command_name, delay=None, period=None): if period: async def send_command_repeatedly(): while True: - command_name = await charge_point.receive_command() + command_name = await cp.receive_command() try: match command_name: case Action.ClearCache: