summaryrefslogtreecommitdiff
path: root/barbicanclient/tests/v1/test_containers.py
diff options
context:
space:
mode:
authorTakashi Kajinami <tkajinam@redhat.com>2022-05-17 17:22:01 +0900
committerTakashi Kajinami <tkajinam@redhat.com>2022-05-18 22:31:01 +0900
commit69125bfd07398245480e783415352a2ed0c5ee92 (patch)
tree0c783c5e14ecb6dbf9aeb2960df3e06f3dc1c7c6 /barbicanclient/tests/v1/test_containers.py
parentc6ce0af02863439e5a4834fede07fb4bf855e631 (diff)
downloadpython-barbicanclient-69125bfd07398245480e783415352a2ed0c5ee92.tar.gz
Remove six
Python 2 is no longer supported, so we no longer need the six library. This change removes usage of the library as well as reference to it (and Python 2) from the documentation. Change-Id: I6328b11dcad54f70f64ecff53eb60708e34351cf
Diffstat (limited to 'barbicanclient/tests/v1/test_containers.py')
-rw-r--r--barbicanclient/tests/v1/test_containers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/barbicanclient/tests/v1/test_containers.py b/barbicanclient/tests/v1/test_containers.py
index 3cbdd92..291a07e 100644
--- a/barbicanclient/tests/v1/test_containers.py
+++ b/barbicanclient/tests/v1/test_containers.py
@@ -17,7 +17,6 @@ from unittest import mock
from oslo_serialization import jsonutils
from oslo_utils import timeutils
-import six
from barbicanclient import base
from barbicanclient.tests import test_client
@@ -524,7 +523,7 @@ class WhenTestingContainers(test_client.BaseEntityResource):
# Verify that the names of the secret_refs in the containers are None
for container in containers_list:
- for name in six.iterkeys(container._secret_refs):
+ for name in container._secret_refs.keys():
self.assertIsNone(name)
def test_should_fail_get_invalid_container(self):