core/tests/components/recorder
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
..
auto_repairs Auto repair incorrect collation on MySQL schema (#92270) 2023-04-29 21:17:09 -04:00
table_managers
__init__.py
common.py Update recorder tests to avoid patching utcnow (#93489) 2023-05-24 17:47:42 -05:00
db_schema_0.py
db_schema_16.py
db_schema_18.py
db_schema_22.py
db_schema_23.py
db_schema_23_with_newer_columns.py
db_schema_25.py
db_schema_28.py
db_schema_30.py
db_schema_32.py
test_backup.py
test_entity_registry.py
test_filters.py
test_filters_with_entityfilter.py
test_filters_with_entityfilter_schema_37.py
test_history.py Update recorder tests to avoid patching utcnow (#93489) 2023-05-24 17:47:42 -05:00
test_history_db_schema_30.py Update recorder tests to avoid patching utcnow (#93489) 2023-05-24 17:47:42 -05:00
test_history_db_schema_32.py Update recorder tests to avoid patching utcnow (#93489) 2023-05-24 17:47:42 -05:00
test_init.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_migrate.py
test_migration_from_schema_32.py
test_models.py Import `util.dt` as `dt_util` in `components/[p-s]*` (#93761) 2023-05-30 00:09:42 +03:00
test_models_legacy.py
test_pool.py
test_purge.py Increase timeout for test_purge_many_old_events (#93579) 2023-05-25 22:38:44 -05:00
test_purge_v32_schema.py Update recorder tests to avoid patching utcnow (#93489) 2023-05-24 17:47:42 -05:00
test_statistics.py Include data for entire periods in response to recorder/statistics_during_period (#92848) 2023-05-11 11:28:33 +02:00
test_statistics_v23_migration.py
test_system_health.py
test_util.py
test_v32_migration.py
test_websocket_api.py Make unit converter use a factory to avoid looking up the ratios each conversion (#93706) 2023-05-29 20:50:40 +02:00