mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Add Home Assistant Green (#4486)
This commit is contained in:
@@ -103,6 +103,26 @@ async def test_raspberrypi4_64_arch(coresys, sys_machine, sys_supervisor):
|
||||
assert coresys.arch.supported == ["aarch64", "armv7", "armhf"]
|
||||
|
||||
|
||||
async def test_yellow_arch(coresys, sys_machine, sys_supervisor):
|
||||
"""Test arch for yellow."""
|
||||
sys_machine.return_value = "yellow"
|
||||
sys_supervisor.arch = "aarch64"
|
||||
await coresys.arch.load()
|
||||
|
||||
assert coresys.arch.default == "aarch64"
|
||||
assert coresys.arch.supported == ["aarch64", "armv7", "armhf"]
|
||||
|
||||
|
||||
async def test_green_arch(coresys, sys_machine, sys_supervisor):
|
||||
"""Test arch for green."""
|
||||
sys_machine.return_value = "green"
|
||||
sys_supervisor.arch = "aarch64"
|
||||
await coresys.arch.load()
|
||||
|
||||
assert coresys.arch.default == "aarch64"
|
||||
assert coresys.arch.supported == ["aarch64", "armv7", "armhf"]
|
||||
|
||||
|
||||
async def test_tinker_arch(coresys, sys_machine, sys_supervisor):
|
||||
"""Test arch for tinker."""
|
||||
sys_machine.return_value = "tinker"
|
||||
|
||||
Reference in New Issue
Block a user