summaryrefslogtreecommitdiffstats
path: root/src/ceph-volume/ceph_volume/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ceph-volume/ceph_volume/tests/conftest.py')
-rw-r--r--src/ceph-volume/ceph_volume/tests/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ceph-volume/ceph_volume/tests/conftest.py b/src/ceph-volume/ceph_volume/tests/conftest.py
index ee58081d97d..e6bf31737b6 100644
--- a/src/ceph-volume/ceph_volume/tests/conftest.py
+++ b/src/ceph-volume/ceph_volume/tests/conftest.py
@@ -360,7 +360,7 @@ def device_info(monkeypatch, patch_bluestore_label):
has_bluestore_label=False):
if devices:
for dev in devices.keys():
- devices[dev]['device_nodes'] = os.path.basename(dev)
+ devices[dev]['device_nodes'] = [os.path.basename(dev)]
else:
devices = {}
lsblk = lsblk if lsblk else {}