core/tests/components/bluetooth
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 Restore remote discovered devices between remote scanner restarts (#83699) 2022-12-11 09:02:55 -10:00
snapshots Add support for snapshot testing (#88323) 2023-02-17 16:35:55 -05:00
__init__.py Bump bluetooth deps for bleak 0.20 (#89925) 2023-03-20 12:06:15 +01:00
conftest.py Fix Bluetooth discoveries missing between restarts (#86808) 2023-01-27 22:16:16 -05:00
test_active_update_coordinator.py Avoid starting a bluetooth poll when Home Assistant is stopping (#88819) 2023-02-26 22:02:52 -05:00
test_active_update_processor.py Avoid starting a bluetooth poll when Home Assistant is stopping (#88819) 2023-02-26 22:02:52 -05:00
test_advertisement_tracker.py Bump bluetooth deps for bleak 0.20 (#89925) 2023-03-20 12:06:15 +01:00
test_api.py Fix timestamps for bluetooth scanners that bundle advertisements (#94511) 2023-06-14 21:47:00 -04:00
test_base_scanner.py Fix timestamps for bluetooth scanners that bundle advertisements (#94511) 2023-06-14 21:47:00 -04:00
test_config_flow.py Restore original websocket commands for config entries (#93707) 2023-05-28 21:40:35 -04:00
test_diagnostics.py Fix timestamps for bluetooth scanners that bundle advertisements (#94511) 2023-06-14 21:47:00 -04:00
test_init.py Remove outdated HAOS check from bluetooth (#93809) 2023-05-30 19:41:51 +02:00
test_manager.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_models.py Small cleanups to bluetooth internals (#92045) 2023-04-26 11:16:34 +02:00
test_passive_update_coordinator.py Add type hints to integration tests (part 2) (#87789) 2023-02-10 16:05:26 +01:00
test_passive_update_processor.py Add type hints to integration tests (part 2) (#87789) 2023-02-10 16:05:26 +01:00
test_scanner.py Reduce overhead to check bluetooth logging (#92512) 2023-05-07 01:30:54 +02:00
test_usage.py Bump bluetooth deps for bleak 0.20 (#89925) 2023-03-20 12:06:15 +01:00
test_wrappers.py Fix timestamps for bluetooth scanners that bundle advertisements (#94511) 2023-06-14 21:47:00 -04:00