summaryrefslogtreecommitdiffstats
path: root/qa/tasks/tests/test_radosgw_admin.py
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2020-07-19 11:39:11 +0200
committerKefu Chai <kchai@redhat.com>2020-07-22 05:55:49 +0200
commit24e7acc261a498a448935abcc971090fbd2a5789 (patch)
tree795469bdb2cfab3a8fbc9796bab840df6c0102fe /qa/tasks/tests/test_radosgw_admin.py
parentqa/tasks/samba: drop python2 support (diff)
downloadceph-24e7acc261a498a448935abcc971090fbd2a5789.tar.xz
ceph-24e7acc261a498a448935abcc971090fbd2a5789.zip
qa/tasks: drop python2 support from rgw related tests
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'qa/tasks/tests/test_radosgw_admin.py')
-rw-r--r--qa/tasks/tests/test_radosgw_admin.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/qa/tasks/tests/test_radosgw_admin.py b/qa/tasks/tests/test_radosgw_admin.py
index 2ed0ebd52e0..4e86d5c2b52 100644
--- a/qa/tasks/tests/test_radosgw_admin.py
+++ b/qa/tasks/tests/test_radosgw_admin.py
@@ -1,8 +1,4 @@
-import six
-if six.PY3:
- from unittest.mock import Mock
-else:
- from mock import Mock
+from unittest.mock import Mock
from tasks import radosgw_admin