1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

WS: Improve service calling errors (#23840)

* WS: Improve service calling errors

* Docstyle

* Types

* Update text
This commit is contained in:
Paulus Schoutsen
2019-05-14 07:09:11 +02:00
committed by GitHub
parent 0d96095646
commit de1fd5a7fa
6 changed files with 68 additions and 8 deletions

View File

@@ -893,4 +893,4 @@ async def test_automation_with_error_in_script(hass, caplog):
hass.bus.async_fire('test_event')
await hass.async_block_till_done()
assert 'Service test.automation not found' in caplog.text
assert 'Service not found' in caplog.text