core/tests/components/rest
Allen Porter 12129e9d21
Update service call return values and error handling (#94657)
* Update return signature of service calls

* Add timeout error handling in websocket api for service calls

* Update recorder tests to remove assertion on service call

* Remove timeout behavior and update callers that depend on it today

* Fix tests

* Add missing else

* await coro directly

* Fix more tests

* Update the intent task to use wait instead of timeout

* Remove script service call limits and limit constants

* Update tests that depend on service call limits

* Use wait instead of wait_for and add test

* Update homeassistant/helpers/intent.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-16 07:01:40 -07:00
..
fixtures
__init__.py
test_binary_sensor.py Catch ssl errors in rest (#91074) 2023-04-12 06:51:41 +02:00
test_init.py Catch ssl errors in rest (#91074) 2023-04-12 06:51:41 +02:00
test_notify.py
test_sensor.py Refactor XML parsing in rest (#94268) 2023-06-15 09:15:25 +02:00
test_switch.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00