Fix homekit test assert no messages (#23856)

This commit is contained in:
Ville Skyttä 2019-05-15 14:13:57 +03:00 committed by cdce8p
parent 2dc78e6f0c
commit cf89f45697

View file

@ -311,4 +311,4 @@ async def test_media_player_television_basic(hass, hk_driver, events, caplog):
await hass.async_block_till_done()
assert acc.char_active.value == 1
assert 'Error' not in caplog.messages[-1]
assert not caplog.messages or 'Error' not in caplog.messages[-1]