mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Use Udisks2 for available data disks (#4202)
* Use Udisks2 for available data disks * pylint issues
This commit is contained in:
@@ -149,6 +149,37 @@ FIXTURES: dict[str, DriveFixture] = {
|
||||
CanPowerOff=True,
|
||||
SiblingId="/sys/devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.1.auto/usb2/2-1/2-1.4/2-1.4:1.0",
|
||||
),
|
||||
"/org/freedesktop/UDisks2/drives/Test_Multiple_Partition_Tables_123456789": DriveFixture(
|
||||
Vendor="Test",
|
||||
Model="Multiple Partition Tables",
|
||||
Revision="",
|
||||
Serial="123456789",
|
||||
WWN="",
|
||||
Id="Test-Multiple-Partition-Tables-123456789",
|
||||
Configuration={},
|
||||
Media="",
|
||||
MediaCompatibility=[],
|
||||
MediaRemovable=False,
|
||||
MediaAvailable=True,
|
||||
MediaChangeDetected=True,
|
||||
Size=0,
|
||||
TimeDetected=0,
|
||||
TimeMediaDetected=0,
|
||||
Optical=False,
|
||||
OpticalBlank=False,
|
||||
OpticalNumTracks=0,
|
||||
OpticalNumAudioTracks=0,
|
||||
OpticalNumDataTracks=0,
|
||||
OpticalNumSessions=0,
|
||||
RotationRate=0,
|
||||
ConnectionBus="usb",
|
||||
Seat="seat0",
|
||||
Removable=True,
|
||||
Ejectable=False,
|
||||
SortKey="",
|
||||
CanPowerOff=True,
|
||||
SiblingId="",
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user