1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-05-08 17:08:36 +01:00

Adjust container evaluation (#3174)

* Adjust container evaluation

* remove test
This commit is contained in:
Joakim Sørensen
2021-10-18 13:58:51 +02:00
committed by GitHub
parent 1ee6c0491c
commit 8a553dbb59
3 changed files with 31 additions and 20 deletions
@@ -92,12 +92,3 @@ async def test_adding_and_removing_unsupported_reason(coresys: CoreSys):
await coresys.resolution.evaluate.evaluate_system()
assert UnsupportedReason.NETWORK_MANAGER not in coresys.resolution.unsupported
assert coresys.core.supported
async def test_set_unhealthy(coresys: CoreSys):
"""Test setting unhealthy."""
assert coresys.core.healthy
coresys.resolution.unsupported = UnsupportedReason.CONTAINER
await coresys.resolution.evaluate.evaluate_system()
assert not coresys.core.healthy