Update tests/ocpp-server/server.py
[e-mobility-charging-stations-simulator.git] / tests / ocpp-server / server.py
index f48adb21762c179e983564518dd879e453100932..a753f261598a9cba79de73832a0d6f062da5cc4e 100644 (file)
@@ -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':