hass-core/tests/components/plex
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 Autoresume in-progress items from Plex media browser (#68494) 2022-03-29 11:08:26 +02:00
__init__.py
conftest.py Split reauth tests in plex (#89212) 2023-03-06 10:02:32 +01:00
const.py Use platform enums in plex tests (#62561) 2021-12-22 07:59:54 -05:00
helpers.py Add Plex library count sensors (#48339) 2021-03-31 13:57:16 +02:00
mock_classes.py Rewrite Plex tests to use mocked payloads (#44044) 2021-01-07 19:56:52 +01:00
test_browse_media.py Add type hints to integration tests (part 17) (#88163) 2023-02-15 11:14:04 +01:00
test_button.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_config_flow.py Fix lingering tasks in plex (#89282) 2023-03-08 10:53:08 -05:00
test_device_handling.py Add type hints to integration tests (part 17) (#88163) 2023-02-15 11:14:04 +01:00
test_init.py Handle invalidated Plex token (#91438) 2023-04-17 09:38:16 +02:00
test_media_players.py Add type hints to integration tests (part 17) (#88163) 2023-02-15 11:14:04 +01:00
test_media_search.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_playback.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_sensor.py Import util.dt as dt_util in components/[p-s]* (#93761) 2023-05-30 00:09:42 +03:00
test_server.py Add type hints to integration tests (part 17) (#88163) 2023-02-15 11:14:04 +01:00
test_services.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00