ha-supervisor/tests
J. Nick Koston eb85be2770
Improve json performance by porting core orjson utils (#4816)
* Improve json performance by porting core orjson utils

* port relevant tests

* pylint

* add test for read_json_file

* add test for read_json_file

* remove workaround for core issue we do not have here

---------

Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2024-01-13 19:19:01 +01:00
..
addons Always pass explicit architecture of installed add-ons (#4786) 2023-12-21 16:52:25 -05:00
api Update python to 3.12 (#4815) 2024-01-13 16:35:07 +01:00
backups Improve error handling in backup restore (#4791) 2023-12-29 11:45:50 +01:00
dbus Improve D-Bus error handling for NetworkManager (#4720) 2023-11-27 23:32:11 +01:00
dbus_service_mocks Wait until mount unit is deactivated on unmount (#4733) 2023-12-01 00:35:15 +01:00
discovery Add Wyoming Protocol add-on/integration discovery (#4248) 2023-04-19 11:35:05 -04:00
docker Add support for setting target path in map config (#4694) 2023-12-27 15:14:23 -05:00
fixtures Check/get ingress port on add-on load (#4744) 2023-12-06 10:46:47 +01:00
hardware Mark system as unhealthy on OSError Bad message errors (#4750) 2023-12-21 18:05:29 +01:00
homeassistant Mark system as unhealthy on OSError Bad message errors (#4750) 2023-12-21 18:05:29 +01:00
host Mark system as unhealthy on OSError Bad message errors (#4750) 2023-12-21 18:05:29 +01:00
jobs Update python to 3.12 (#4815) 2024-01-13 16:35:07 +01:00
misc Set max reanimation attempts on HA watchdog (#4784) 2023-12-21 16:44:39 +01:00
mounts Wait until mount unit is deactivated on unmount (#4733) 2023-12-01 00:35:15 +01:00
os Add mount to supported features (#4301) 2023-05-23 14:00:15 +02:00
plugins Mark system as unhealthy on OSError Bad message errors (#4750) 2023-12-21 18:05:29 +01:00
resolution Migrate to pyproject.toml where possible (#4770) 2023-12-29 11:46:01 +01:00
security Add integrity check (#3608) 2022-04-30 10:14:43 +02:00
services Fix services validation & add tests (#1456) 2020-01-27 21:38:26 +01:00
store Mark system as unhealthy on OSError Bad message errors (#4750) 2023-12-21 18:05:29 +01:00
utils Improve json performance by porting core orjson utils (#4816) 2024-01-13 19:19:01 +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 Update python to 3.12 (#4815) 2024-01-13 16:35:07 +01: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 Mark system as unhealthy on OSError Bad message errors (#4750) 2023-12-21 18:05:29 +01:00
test_coresys.py Use session dbus mocks for all tests (#4198) 2023-03-21 07:30:31 +01: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 Mark system as unhealthy on OSError Bad message errors (#4750) 2023-12-21 18:05:29 +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