Merge branch 'main' into issue39-ocpp2
[e-mobility-charging-stations-simulator.git] / tests / ocpp-server / server.py
index aa424b7f90c6d89b30a25fb66e1b32be5a5d7671..98a9d8530790ccccc7bf333ef7e1445bff9952e6 100644 (file)
@@ -154,7 +154,7 @@ async def send_ocpp_command(cp, command_name, delay=None, period=None):
                     match command_name:
                         case Action.ClearCache:
                             logging.info("ClearCache parser working")
-                            await charge_point.send_clear_cache()
+                            await cp.send_clear_cache()
                         case Action.GetBaseReport:
                             logging.info("GetBaseReport parser working")
                             await cp.send_get_base_report()