mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 08:26:41 +01:00
Bump aiohasupervisor to 0.4.1 (#165489)
Co-authored-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
@@ -6,6 +6,6 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/hassio",
|
||||
"iot_class": "local_polling",
|
||||
"quality_scale": "internal",
|
||||
"requirements": ["aiohasupervisor==0.3.3"],
|
||||
"requirements": ["aiohasupervisor==0.4.1"],
|
||||
"single_config_entry": true
|
||||
}
|
||||
|
||||
2
requirements_all.txt
generated
2
requirements_all.txt
generated
@@ -276,7 +276,7 @@ aioguardian==2026.01.1
|
||||
aioharmony==0.5.3
|
||||
|
||||
# homeassistant.components.hassio
|
||||
aiohasupervisor==0.3.3
|
||||
aiohasupervisor==0.4.1
|
||||
|
||||
# homeassistant.components.home_connect
|
||||
aiohomeconnect==0.30.0
|
||||
|
||||
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@@ -264,7 +264,7 @@ aioguardian==2026.01.1
|
||||
aioharmony==0.5.3
|
||||
|
||||
# homeassistant.components.hassio
|
||||
aiohasupervisor==0.3.3
|
||||
aiohasupervisor==0.4.1
|
||||
|
||||
# homeassistant.components.home_connect
|
||||
aiohomeconnect==0.30.0
|
||||
|
||||
@@ -72,7 +72,7 @@ def mock_resolution_info(
|
||||
if suggestions_by_issue
|
||||
else [],
|
||||
checks=[
|
||||
Check(enabled=True, slug=CheckType.SUPERVISOR_TRUST),
|
||||
Check(enabled=True, slug=CheckType.DOCKER_CONFIG),
|
||||
Check(enabled=True, slug=CheckType.FREE_SPACE),
|
||||
],
|
||||
)
|
||||
@@ -197,7 +197,7 @@ async def test_unsupported_issues(
|
||||
"""Test issues added for unsupported systems."""
|
||||
mock_resolution_info(
|
||||
supervisor_client,
|
||||
unsupported=[UnsupportedReason.CONTENT_TRUST, UnsupportedReason.OS],
|
||||
unsupported=[UnsupportedReason.CONNECTIVITY_CHECK, UnsupportedReason.OS],
|
||||
)
|
||||
|
||||
result = await async_setup_component(hass, "hassio", {})
|
||||
@@ -210,7 +210,7 @@ async def test_unsupported_issues(
|
||||
assert msg["success"]
|
||||
assert len(msg["result"]["issues"]) == 2
|
||||
assert_repair_in_list(
|
||||
msg["result"]["issues"], unhealthy=False, reason="content_trust"
|
||||
msg["result"]["issues"], unhealthy=False, reason="connectivity_check"
|
||||
)
|
||||
assert_repair_in_list(msg["result"]["issues"], unhealthy=False, reason="os")
|
||||
|
||||
@@ -502,7 +502,7 @@ async def test_reasons_added_and_removed(
|
||||
|
||||
mock_resolution_info(
|
||||
supervisor_client,
|
||||
unsupported=[UnsupportedReason.CONTENT_TRUST],
|
||||
unsupported=[UnsupportedReason.CONNECTIVITY_CHECK],
|
||||
unhealthy=[UnhealthyReason.SETUP],
|
||||
)
|
||||
await client.send_json(
|
||||
@@ -526,7 +526,7 @@ async def test_reasons_added_and_removed(
|
||||
assert len(msg["result"]["issues"]) == 2
|
||||
assert_repair_in_list(msg["result"]["issues"], unhealthy=True, reason="setup")
|
||||
assert_repair_in_list(
|
||||
msg["result"]["issues"], unhealthy=False, reason="content_trust"
|
||||
msg["result"]["issues"], unhealthy=False, reason="connectivity_check"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user