repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57256ac
)
Update tests/ocpp-server/server.py
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Tue, 25 Jun 2024 19:39:59 +0000
(21:39 +0200)
committer
GitHub
<noreply@github.com>
Tue, 25 Jun 2024 19:39:59 +0000
(21:39 +0200)
tests/ocpp-server/server.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/ocpp-server/server.py
b/tests/ocpp-server/server.py
index f48adb21762c179e983564518dd879e453100932..a753f261598a9cba79de73832a0d6f062da5cc4e 100644
(file)
--- a/
tests/ocpp-server/server.py
+++ b/
tests/ocpp-server/server.py
@@
-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':