summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi/test_heketi_device_operations.py
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-01-07 18:14:48 +0530
committerVaibhav Mahajan <vamahaja@redhat.com>2020-01-13 12:11:49 +0000
commit225ac295bf630189fac4c51d4a359c6024f23625 (patch)
treed0af17f9ea378b8299a8c6d54ac6d2495cb83eea /tests/functional/heketi/test_heketi_device_operations.py
parent9caf2d117c0fea33ff883addba39998c827945bc (diff)
[py2to3] Fix dict.values() py3 incompatibilities
Change-Id: Ibb96e961b1501ef696858a5eec80422471e877fd Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tests/functional/heketi/test_heketi_device_operations.py')
-rw-r--r--tests/functional/heketi/test_heketi_device_operations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/heketi/test_heketi_device_operations.py b/tests/functional/heketi/test_heketi_device_operations.py
index 4091294..cae880c 100644
--- a/tests/functional/heketi/test_heketi_device_operations.py
+++ b/tests/functional/heketi/test_heketi_device_operations.py
@@ -178,7 +178,7 @@ class TestHeketiDeviceOperations(BaseClass):
def test_device_remove_operation(self, delete_device):
"""Validate remove/delete device using heketi-cli"""
- gluster_server_0 = g.config["gluster_servers"].values()[0]
+ gluster_server_0 = list(g.config["gluster_servers"].values())[0]
try:
device_name = gluster_server_0["additional_devices"][0]
except (KeyError, IndexError):