summaryrefslogtreecommitdiffstats
path: root/tests/functional/afr
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-11-20 16:41:16 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-11-21 09:06:42 +0000
commit082f516a33d14c836cd47293cb29c83ae80e294d (patch)
tree81ca6d0c76480d08cc1c418b57a05209d9115040 /tests/functional/afr
parent489970dda8cc3fdf0b6c1fd26b1662d3ee853d94 (diff)
[py2to3] Replace usage of ".iteitems()" attr with ".items()"
Dict attribute called "iteritems()" is not supported in the py3. So, replace it's usage with another similar attr called "items()". Change-Id: I130b7f67f0a2d5da5ed6c3d792f5ff024ba148f4 Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
Diffstat (limited to 'tests/functional/afr')
-rw-r--r--tests/functional/afr/test_client_side_quorum_with_multiple_volumes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/afr/test_client_side_quorum_with_multiple_volumes.py b/tests/functional/afr/test_client_side_quorum_with_multiple_volumes.py
index e9f38b3..c310417 100644
--- a/tests/functional/afr/test_client_side_quorum_with_multiple_volumes.py
+++ b/tests/functional/afr/test_client_side_quorum_with_multiple_volumes.py
@@ -339,8 +339,8 @@ class ClientSideQuorumTestsMultipleVols(GlusterBaseClass):
temp_dict))
# create files on all volumes and check for result
- for volname, file_and_mountpoint in \
- file_to_delete_to_mountpoint_dict.iteritems():
+ for volname, file_and_mountpoint in (
+ file_to_delete_to_mountpoint_dict.items()):
filename, mountpoint = file_and_mountpoint
# check for ROFS error for read-only file system for