From 05dcc202d1b5b7330c83afc828428ad42d5fc9f4 Mon Sep 17 00:00:00 2001 From: Kamil Gierszewski Date: Wed, 30 Oct 2024 01:29:08 +0100 Subject: [PATCH] tests: Don't clean-up drives that won't be used Signed-off-by: Kamil Gierszewski --- test/functional/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/tests/conftest.py b/test/functional/tests/conftest.py index 34f3711a6..62c1a6ae2 100644 --- a/test/functional/tests/conftest.py +++ b/test/functional/tests/conftest.py @@ -268,7 +268,7 @@ def base_prepare(item): Udev.settle() RamDisk.remove_all() - for disk in TestRun.dut.disks: + for disk in TestRun.disks.values(): disk_serial = get_disk_serial_number(disk.path) if disk.serial_number and disk.serial_number != disk_serial: raise Exception(