Fix flaky integration test (#27905)

This commit is contained in:
Paulus Schoutsen 2019-10-18 20:57:54 -07:00 committed by GitHub
parent 0cd55d6716
commit 00521b5e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,4 +200,4 @@ async def test_suffix(hass):
assert state is not None
# Testing a network speed sensor at 1000 bytes/s over 10s = 10kbytes
assert round(float(state.state), config["sensor"]["round"]) == 10.0
assert round(float(state.state)) == 10