ha-supervisor/tests
Mike Degatano 8d18d2d9c6
Use signals to recognize new disks immediately (#5023)
* Use signals to recognize new disks immediately

* Add test for disabled data disk issue

* Add mock of UDisks2 base service to test

* Apply suggestions from code review

* Shutdown manager first to avoid potential race conditions

* Update tests/dbus_service_mocks/udisks2.py

Co-authored-by: Jan Čermák <sairon@users.noreply.github.com>

---------

Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: Jan Čermák <sairon@users.noreply.github.com>
2024-04-22 16:35:03 +02:00
..
addons Addon load should not fail due to docker error (#5011) 2024-04-11 15:06:57 +02:00
api Fix Supervisor logs fallback (#5022) 2024-04-22 09:42:12 +02:00
backups Create backups files without having to copy inner tarballs (#4884) 2024-02-14 09:24:43 +01:00
dbus Use signals to recognize new disks immediately (#5023) 2024-04-22 16:35:03 +02:00
dbus_service_mocks Use signals to recognize new disks immediately (#5023) 2024-04-22 16:35:03 +02:00
docker Fix submounts of /dev being read-only with Docker 25+ (#4997) 2024-04-02 21:07:53 +02:00
fixtures Use Journal Export Format for host (advanced) logs (#4963) 2024-03-20 09:00:45 +01:00
hardware Mark system as unhealthy on OSError Bad message errors (#4750) 2023-12-21 18:05:29 +01:00
homeassistant Allow adoption of existing data disk (#4991) 2024-04-10 10:25:22 +02:00
host Use Journal Export Format for host (advanced) logs (#4963) 2024-03-20 09:00:45 +01:00
jobs Migrate to Ruff for lint and format (#4852) 2024-02-05 11:37:39 -05:00
misc Reset failed API call counter on successful API call (#4862) 2024-01-31 11:41:21 -05:00
mounts Mount manager reload mounts all failed mounts (#5014) 2024-04-12 12:02:29 +02:00
os Use signals to recognize new disks immediately (#5023) 2024-04-22 16:35:03 +02:00
plugins Allow adoption of existing data disk (#4991) 2024-04-10 10:25:22 +02:00
resolution Adopt a disabled data disk (#5010) 2024-04-11 13:53:19 -04:00
security Migrate to Ruff for lint and format (#4852) 2024-02-05 11:37:39 -05:00
services Fix services validation & add tests (#1456) 2020-01-27 21:38:26 +01:00
store Cache existence of addon paths (#4944) 2024-03-15 16:43:26 +01:00
utils Use Journal Export Format for host (advanced) logs (#4963) 2024-03-20 09:00:45 +01:00
__init__.py Rename Hass.io -> Supervisor (#1522) 2020-02-21 17:55:41 +01:00
common.py Use session dbus mocks for all tests (#4198) 2023-03-21 07:30:31 +01:00
conftest.py Use signals to recognize new disks immediately (#5023) 2024-04-22 16:35:03 +02:00
const.py Use deepmerge for options (#3162) 2021-09-29 09:37:04 +02:00
test_arch.py Add Raspberry Pi 5 (#4757) 2023-12-11 11:14:04 +01:00
test_auth.py Speedup HA core auth (#2144) 2020-10-19 16:38:28 +02:00
test_bus.py Support dynamic device access cgroup (#3421) 2022-01-26 16:48:23 +01:00
test_core.py Migrate to Ruff for lint and format (#4852) 2024-02-05 11:37:39 -05:00
test_coresys.py Migrate to Ruff for lint and format (#4852) 2024-02-05 11:37:39 -05:00
test_ingress.py Make check_port an async function (#4677) 2023-12-05 15:49:35 -05:00
test_main.py Supervisor container startup health function (#2214) 2020-11-03 16:36:10 +01:00
test_supervisor.py Bump pytest from 7.4.4 to 8.0.1 (#4901) 2024-02-27 09:57:44 +01:00
test_updater.py OS latest version set from upgrade path (#3632) 2022-05-11 13:14:28 +02:00
test_validate.py Extend container image name validator (#4480) 2023-08-10 12:58:33 -04:00