Address late review of motionEye services (#58924)

This commit is contained in:
Dermot Duffy
2021-11-02 05:33:08 -07:00
committed by GitHub
parent bfb0d8dd19
commit 4746ff3798
2 changed files with 11 additions and 10 deletions

View File

@@ -414,9 +414,9 @@ async def test_set_text_overlay_bad_entity_identifier(hass: HomeAssistant) -> No
}
client.reset_mock()
await hass.services.async_call(DOMAIN, SERVICE_SET_TEXT_OVERLAY, data)
await hass.async_block_till_done()
assert not client.async_set_camera.called
with pytest.raises(vol.error.MultipleInvalid):
await hass.services.async_call(DOMAIN, SERVICE_SET_TEXT_OVERLAY, data)
await hass.async_block_till_done()
async def test_set_text_overlay_bad_empty(hass: HomeAssistant) -> None: