We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 577bb85 commit e100517Copy full SHA for e100517
tests/test_charge_point.py
@@ -41,6 +41,7 @@ async def test_cms_responses(hass):
41
async with websockets.connect(
42
"ws://localhost:9000/CP_1", subprotocols=["ocpp1.6"],
43
) as ws:
44
+ # use a different id for debugging
45
cp = ChargePoint("CP_1_test", ws)
46
try:
47
await asyncio.wait_for(asyncio.gather(cp.start(),
@@ -53,7 +54,7 @@ async def test_cms_responses(hass):
53
54
cp.send_start_transaction(),
55
cp.send_meter_data(),
56
cp.send_stop_transaction(),
- cs.start_transaction()), timeout = 7,
57
+ cs.charge_points["CP_1"].start_transaction()), timeout = 7,
58
)
59
except asyncio.TimeoutError:
60
pass
0 commit comments