core/tests/components/recorder
J. Nick Koston 3c70dd9b42
Make sql subqueries threadsafe (#89254)
* Make sql subqueries threadsafe

fixes #89224

* fix join outside of lambda

* move statement generation into a seperate function to make it easier to test

* add cache key tests

* no need to mock hass
2023-03-06 20:44:11 -05:00
..
__init__.py Use python defaults for comparing State, LazyState, and Event objects (#86856) 2023-01-29 13:31:43 -05:00
common.py Use python defaults for comparing State, LazyState, and Event objects (#86856) 2023-01-29 13:31:43 -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 Improve performance of fetching and storing history and events with the database (#84870) 2023-01-02 13:26:08 -10:00
db_schema_25.py Upgrade SQLAlchemy to 2.0.2 (#86436) 2023-02-08 08:17:32 -06:00
db_schema_28.py Upgrade SQLAlchemy to 2.0.2 (#86436) 2023-02-08 08:17:32 -06:00
db_schema_30.py Make recorder platform attribute exclude integration aware (#88357) 2023-02-18 10:08:59 +01:00
test_backup.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_filters.py Add return type to tests without arguments (#87613) 2023-02-07 14:20:06 +01:00
test_filters_with_entityfilter.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_history.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_history_db_schema_30.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_init.py Make the recorder LRU adjustment threadsafe (#88443) 2023-02-19 19:30:08 +01:00
test_migrate.py Handle InnoDB deadlocks during migration (#89073) 2023-03-03 22:00:13 -05:00
test_models.py Use entity_sources to determine integration in recorder platforms (#88382) 2023-02-18 07:21:41 -06:00
test_pool.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_purge.py Handle InnoDB deadlocks during migration (#89073) 2023-03-03 22:00:13 -05:00
test_run_history.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_statistics.py Make sql subqueries threadsafe (#89254) 2023-03-06 20:44:11 -05:00
test_statistics_v23_migration.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_system_health.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_util.py Fix using MariaDB slow range select workaround with Postgresql (#88459) 2023-02-19 21:08:43 -05:00
test_v32_migration.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_websocket_api.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00