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:
299eb3f
)
fix: issue 39
author
Sekiya
<shusei.sekiya@sap.com>
Thu, 27 Jun 2024 08:51:03 +0000
(17:51 +0900)
committer
Sekiya
<shusei.sekiya@sap.com>
Thu, 27 Jun 2024 08:51:03 +0000
(17:51 +0900)
tests/ocpp-server/server.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/ocpp-server/server.py
b/tests/ocpp-server/server.py
index 5738c7e33ce778fcf401c1bdb7ac501f9944c3d1..ea02342b9ddc5214bf2cc42b3799a6e883028f47 100644
(file)
--- a/
tests/ocpp-server/server.py
+++ b/
tests/ocpp-server/server.py
@@
-138,10
+138,8
@@
async def send_ocpp_command(cp, command_name, delay=None, period=None):
case Action.GetBaseReport:
logging.info("%s Send:", Action.GetBaseReport)
await cp.send_get_base_report()
- case _:
- logging.warning(f"Unsupported command {command_name}")
except Exception:
- logging.exception(f"Failure while processing command {command_name}")
+ logging.exception(f"
Not supported or
Failure while processing command {command_name}")
if delay:
await asyncio.sleep(delay)