1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Finish out effort of adding and enabling blockbuster in tests (#5735)

* Finish out effort of adding and enabling blockbuster

* Skip getting addon file size until securetar fixed

* Fix test for devcontainer and blocking I/O

* Fix docker fixture and load_config to post_init
This commit is contained in:
Mike Degatano
2025-03-07 07:29:24 -05:00
committed by GitHub
parent 23e03a95f4
commit e1c9c8b786
16 changed files with 139 additions and 70 deletions

View File

@@ -113,6 +113,10 @@ async def test_get_checks(coresys: CoreSys):
async def test_dynamic_check_loader(coresys: CoreSys):
"""Test dynamic check loader, this ensures that all checks have defined a setup function."""
coresys.resolution.check.load_modules()
for check in await coresys.run_in_executor(get_valid_modules, "checks"):
def load_modules():
coresys.resolution.check.load_modules()
return get_valid_modules("checks")
for check in await coresys.run_in_executor(load_modules):
assert check in coresys.resolution.check._checks