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