hass-core/tests
Stefan Agner 0a9927d18e
Avoid locking the database for non-SQLite backends (#63847)
* Avoid locking the database for non-SQLite backends

Currently we only have a lock implementation for SQLite. Just return
success for all other databases as they are not expected to store data
in the config directory and the caller can assume that a backup can
be safely taken.

This fixes `RuntimeError: generator didn't yield` errors when creating
a backup with the current Supervisor dev builds.
2022-01-11 16:17:56 +01:00
..
auth Add local only users (#57598) 2021-11-29 14:01:03 -08:00
backports Move StrEnum to homeassistant.backports and move Platform to homeassistant.const (#60880) 2021-12-03 09:31:17 +01:00
components Avoid locking the database for non-SQLite backends (#63847) 2022-01-11 16:17:56 +01:00
fixtures Fix regression after merging fixtures with old path (#59187) 2021-11-05 21:10:55 +01:00
hassfest Fix issue with ranges in requirements with hassfest (#59470) 2021-11-12 09:39:30 +01:00
helpers Add is_number as a test for use in select, selectattr, reject, and re… (#63732) 2022-01-10 13:00:43 +01:00
mock
resources
scripts
test_util
testing_config Make device tracker entities work better (#63328) 2022-01-04 23:16:43 -08:00
util Allow sending webhooks via WS connection (#62725) 2022-01-07 10:41:36 -08:00
__init__.py
bandit.yaml
common.py Raise if trying to store mocks in storage (#63622) 2022-01-09 21:20:21 -08:00
conftest.py Introduce only_supervisor for @websocket_api.ws_require_user() (#61298) 2021-12-08 16:49:35 -08:00
ignore_uncaught_exceptions.py
test_bootstrap.py
test_config.py Remove groups.yaml from default config (#63366) 2022-01-04 23:16:08 -08:00
test_config_entries.py Use RegistryEntryDisabler (#60436) 2021-12-15 23:25:40 +02:00
test_core.py Make core config source an enum (#61966) 2021-12-19 18:02:52 +01:00
test_data_entry_flow.py
test_exceptions.py
test_loader.py Align zeroconf matching with ZeroconfServiceInfo (#62133) 2021-12-19 02:09:21 -06:00
test_main.py
test_requirements.py
test_runner.py
test_setup.py
test_test_fixtures.py