Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/hassio/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion requirements_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion requirements_test_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions tests/components/hassio/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
],
)
Expand Down Expand Up @@ -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", {})
Expand All @@ -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")

Expand Down Expand Up @@ -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(
Expand All @@ -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"
)


Expand Down
Loading