Return list of possible data disk targets (#3133)

* Return list of possible data disk targets

* fix path

* fix tests

* Add test

* Fix tests

* Add tests

* Add more tests

* Remove debug

* Address comments

* more clear
This commit is contained in:
Pascal Vizeli
2021-09-21 14:51:58 +02:00
committed by GitHub
parent 4f97013df4
commit 04f36e92e1
19 changed files with 332 additions and 50 deletions

View File

@@ -24,8 +24,10 @@ async def test_api_hardware_info_device(api_client, coresys):
Path("/dev/sda"),
Path("/sys/bus/usb/000"),
"sound",
None,
[Path("/dev/serial/by-id/test")],
{"ID_NAME": "xy"},
[],
)
)