mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 12:29:08 +00:00
Use Udisks2 for available data disks (#4202)
* Use Udisks2 for available data disks * pylint issues
This commit is contained in:
@@ -359,6 +359,60 @@ FIXTURES: dict[str, BlockFixture] = {
|
||||
HintSymbolicIconName="",
|
||||
UserspaceMountOptions=[],
|
||||
),
|
||||
"/org/freedesktop/UDisks2/block_devices/multi_part_table1": BlockFixture(
|
||||
Device=b"/dev/parttable1",
|
||||
PreferredDevice=b"/dev/parttable1",
|
||||
Symlinks=[],
|
||||
DeviceNumber=64769,
|
||||
Id="",
|
||||
Size=33554432,
|
||||
ReadOnly=False,
|
||||
Drive="/org/freedesktop/UDisks2/drives/Test_Multiple_Partition_Tables_123456789",
|
||||
MDRaid="/",
|
||||
MDRaidMember="/",
|
||||
IdUsage="",
|
||||
IdType="",
|
||||
IdVersion="",
|
||||
IdLabel="",
|
||||
IdUUID="",
|
||||
Configuration=[],
|
||||
CryptoBackingDevice="/",
|
||||
HintPartitionable=True,
|
||||
HintSystem=True,
|
||||
HintIgnore=False,
|
||||
HintAuto=False,
|
||||
HintName="",
|
||||
HintIconName="",
|
||||
HintSymbolicIconName="",
|
||||
UserspaceMountOptions=[],
|
||||
),
|
||||
"/org/freedesktop/UDisks2/block_devices/multi_part_table2": BlockFixture(
|
||||
Device=b"/dev/parttable2",
|
||||
PreferredDevice=b"/dev/parttable2",
|
||||
Symlinks=[],
|
||||
DeviceNumber=64769,
|
||||
Id="",
|
||||
Size=33554432,
|
||||
ReadOnly=False,
|
||||
Drive="/org/freedesktop/UDisks2/drives/Test_Multiple_Partition_Tables_123456789",
|
||||
MDRaid="/",
|
||||
MDRaidMember="/",
|
||||
IdUsage="",
|
||||
IdType="",
|
||||
IdVersion="",
|
||||
IdLabel="",
|
||||
IdUUID="",
|
||||
Configuration=[],
|
||||
CryptoBackingDevice="/",
|
||||
HintPartitionable=True,
|
||||
HintSystem=True,
|
||||
HintIgnore=False,
|
||||
HintAuto=False,
|
||||
HintName="",
|
||||
HintIconName="",
|
||||
HintSymbolicIconName="",
|
||||
UserspaceMountOptions=[],
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user