Skip to content

Commit

Permalink
Update test_charge_point.py
Browse files Browse the repository at this point in the history
  • Loading branch information
drc38 authored Dec 14, 2021
1 parent 3870b06 commit fd80d2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_charge_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ async def test_services(hass):
assert int(cs.get_metric("test_cpid", "Energy.Active.Import.Register")) == int(
1305570 / 1000
)
assert int(cs.get_metric("test_cpid", "Current.Import")) == int(
20
)
assert int(cs.get_metric("test_cpid", "Current.Import")) == int(20)
assert cs.get_unit("test_cpid", "Energy.Active.Import.Register") == "kWh"

# test ocpp messages sent from cms to charger, through HA switches/services
Expand Down

0 comments on commit fd80d2d

Please sign in to comment.