core/tests/helpers
David F. Mulcahey 8b0a0ee521
Don't write storage to disk while stopping (#33456)
* Don't write storage to disk while stopping

* rework change

* lint

* remove delay save and schedule final write at stop

* update tests

* fix test component using private methods

* cleanup

* always listen

* use stop in restore state again

* whitelist JSON exceptions for later

* review comment

* make zwave tests use mock storage
2020-04-02 10:25:28 -07:00
..
__init__.py Fix PEP257 issues 2016-03-09 11:15:04 +01:00
test_aiohttp_client.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_area_registry.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_check_config.py Remove unnecessary string literal concatenations (#30360) 2020-01-02 21:17:10 +02:00
test_collection.py Allow managing Lovelace storage dashboards (#32241) 2020-02-28 12:43:17 -08:00
test_condition.py Find related items scripts/automations (#31293) 2020-01-29 16:19:13 -08:00
test_config_entry_flow.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
test_config_entry_oauth2_flow.py Fix discovery for oauth2 flow implementations (#30700) 2020-01-12 07:37:34 -08:00
test_config_validation.py Improve script validation (#32461) 2020-03-05 11:44:42 -08:00
test_debounce.py Improve debounce cooldown (#32161) 2020-02-26 11:27:37 -08:00
test_deprecation.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_device_registry.py Allow sw_version update of a device registry entry. (#32630) 2020-03-11 09:31:02 -07:00
test_discovery.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_dispatcher.py Fix dispatcher logging (#33299) 2020-03-26 20:44:44 -07:00
test_entity.py Adjust entity slow warning for custom component (#31711) 2020-02-10 16:32:47 -08:00
test_entity_component.py Log warning when entities referenced in service call not found (#31427) 2020-02-04 14:42:07 -08:00
test_entity_platform.py Replace asyncio.wait with asyncio.gather since wait ignores exceptions (#33380) 2020-04-01 07:09:13 -07:00
test_entity_registry.py Fix entity registry not saving name/icon (#31932) 2020-02-18 08:32:34 -08:00
test_entity_values.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_entityfilter.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_event.py Fix typos found by codespell (#31243) 2020-01-31 08:33:00 -08:00
test_icon.py StarLine integration (#27197) 2019-11-26 11:17:11 -08:00
test_init.py Black 2019-07-31 12:25:30 -07:00
test_integration_platform.py Add integration platform helper (#29914) 2019-12-13 15:38:41 +01:00
test_intent.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_json.py Black 2019-07-31 12:25:30 -07:00
test_location.py Black 2019-07-31 12:25:30 -07:00
test_network.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_restore_state.py Restore state helper to work with entity registry restoration (#30451) 2020-01-05 11:58:59 +01:00
test_script.py Fix script logging with name (#33120) 2020-03-22 13:29:50 +01:00
test_service.py Use entity.async_request_call in service helper (#31454) 2020-02-04 15:30:15 -08:00
test_state.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_storage.py Don't write storage to disk while stopping (#33456) 2020-04-02 10:25:28 -07:00
test_sun.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_system_info.py Black 2019-07-31 12:25:30 -07:00
test_temperature.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
test_template.py Be consistent with Home Assistant and Hass.io spelling (#30500) 2020-01-05 14:09:17 +02:00
test_translation.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_update_coordinator.py Add update class method to DataUpdateCoordinator (#32724) 2020-03-13 00:27:19 +01:00