Check for duplicate data disks only when the OS is available (#6025)

* Check for duplicate data disks only when the OS is available

Supervised installations do not have a specific data disk, so only
check for duplicate data disks on Home Assistant OS.

* Enable OS for multiple data disks check test
This commit is contained in:
Stefan Agner
2025-07-16 10:43:15 +02:00
committed by GitHub
parent c617358855
commit 780ae1e15c
2 changed files with 4 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ async def test_base(coresys: CoreSys):
assert multiple_data_disks.enabled
@pytest.mark.usefixtures("os_available")
async def test_check(coresys: CoreSys, sda1_block_service: BlockService):
"""Test check."""
multiple_data_disks = CheckMultipleDataDisks(coresys)