Fix lastest version in updater for Supervisor enabled installs (#38773)
* Fix lastest version in update for Supervisor enabled installs * Fix updater tests
This commit is contained in:
1 parent
540d0e5428
commit
5f95b5caaf
6 files changed
+60
-28
No files matched your search
@@ -154,12 +154,7 @@ async def test_new_version_shows_entity_after_hour_hassio(
|
||||
"""Test if binary sensor gets updated if new version is available / Hass.io."""
|
||||
mock_get_uuid.return_value = MOCK_HUUID
|
||||
mock_component(hass, "hassio")
|
||||
hass.data["hassio_info"] = {"hassos": None, "homeassistant": "999.0"}
|
||||
hass.data["hassio_host"] = {
|
||||
"supervisor": "222",
|
||||
"chassis": "vm",
|
||||
"operating_system": "HassOS 4.6",
|
||||
}
|
||||
hass.data["hassio_core_info"] = {"version_latest": "999.0"}
|
||||
|
||||
assert await async_setup_component(hass, updater.DOMAIN, {updater.DOMAIN: {}})
|
||||
|
||||
|
||||
Reference in new issue
Block a user