hass-core/tests/components/recorder
Erik Montnemery d31124d5d4
Avoid creating unneeded Context and Event objects when firing events ()
* Avoid creating unneeded Context and Event objects when firing events

* Add test

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-20 09:40:06 +01:00
..
auto_repairs Enable Ruff rule PT007 () 2024-03-19 09:01:07 +01:00
table_managers Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
__init__.py Use python defaults for comparing State, LazyState, and Event objects () 2023-01-29 13:31:43 -05:00
common.py Avoid expensive db queries at startup to check if data is migrated () 2024-03-19 15:27:40 -10:00
db_schema_0.py Avoid use of datetime.utc* methods deprecated in Python 3.12 () 2023-08-24 16:38:22 +02:00
db_schema_16.py Add ruff rules PIE790, PIE794, PIE807, PIE810 () 2024-03-16 11:04:58 -10:00
db_schema_18.py Remove unnnecessary pylint configs from components [m-r]* () 2023-08-24 00:56:50 +02:00
db_schema_22.py Remove unnnecessary pylint configs from components [m-r]* () 2023-08-24 00:56:50 +02:00
db_schema_23.py Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
db_schema_23_with_newer_columns.py Add ruff rules PIE790, PIE794, PIE807, PIE810 () 2024-03-16 11:04:58 -10:00
db_schema_25.py Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
db_schema_28.py Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
db_schema_30.py Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
db_schema_32.py Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
test_backup.py Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
test_entity_registry.py Guard against db corruption when renaming entities () 2024-03-08 11:34:07 -10:00
test_filters.py Ensure filters are generated inside the lambda locks () 2023-03-28 20:50:10 +02:00
test_filters_with_entityfilter.py Add empty line after module docstring (2) [tests.components] () 2024-03-08 19:16:21 +01:00
test_filters_with_entityfilter_schema_37.py Add empty line after module docstring (2) [tests.components] () 2024-03-08 19:16:21 +01:00
test_history.py Improve lists in integrations [R-S] () 2024-03-13 21:55:00 +01:00
test_history_db_schema_30.py Improve lists in integrations [R-S] () 2024-03-13 21:55:00 +01:00
test_history_db_schema_32.py Improve lists in integrations [R-S] () 2024-03-13 21:55:00 +01:00
test_init.py Enable Ruff rule PT007 () 2024-03-19 09:01:07 +01:00
test_migrate.py Add ruff rule PIE808 () 2024-03-17 09:56:26 +01:00
test_migration_from_schema_32.py Avoid expensive db queries at startup to check if data is migrated () 2024-03-19 15:27:40 -10:00
test_migration_run_time_migrations_remember.py Avoid expensive db queries at startup to check if data is migrated () 2024-03-19 15:27:40 -10:00
test_models.py Avoid creating unneeded Context and Event objects when firing events () 2024-03-20 09:40:06 +01:00
test_models_legacy.py Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
test_pool.py Add empty line after module docstring (2) [tests.components] () 2024-03-08 19:16:21 +01:00
test_purge.py Enable Ruff rule PT007 () 2024-03-19 09:01:07 +01:00
test_purge_v32_schema.py Enable Ruff rule PT007 () 2024-03-19 09:01:07 +01:00
test_statistics.py Enable Ruff rule PT007 () 2024-03-19 09:01:07 +01:00
test_statistics_v23_migration.py Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
test_system_health.py Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
test_util.py Enable Ruff RSE () 2024-03-18 00:40:38 +01:00
test_v32_migration.py Avoid creating unneeded Context and Event objects when firing events () 2024-03-20 09:40:06 +01:00
test_websocket_api.py Enable Ruff rule PT007 () 2024-03-19 09:01:07 +01:00