diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2022-03-21 18:17:41 +0000 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2022-03-21 18:32:30 +0000 |
commit | 20d837a27665632cc5b164b96671290b04c48a58 (patch) | |
tree | 39039f9c5436f717cbc4e10affbe1c3df1f17095 /test/unit/test_service.py | |
parent | 61ce5ac8244206c5e469e24459e365a5b0767dd5 (diff) | |
download | python-swiftclient-20d837a27665632cc5b164b96671290b04c48a58.tar.gz |
Remove unnecessary unicode prefixes
All strings are unicode by default in Python 3. No need to mark them as
such.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I68fb60ef271abfddebcc9d2137424f5db2a17e92
Diffstat (limited to 'test/unit/test_service.py')
-rw-r--r-- | test/unit/test_service.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/test_service.py b/test/unit/test_service.py index 9f3a2a2..0ad5378 100644 --- a/test/unit/test_service.py +++ b/test/unit/test_service.py @@ -564,7 +564,7 @@ class TestServiceDelete(_TestServiceBase): stub_headers, json.dumps(stub_resp).encode('utf8')) obj_list = ['x%02d' % i for i in range(100)] expected = [{ - 'action': u'bulk_delete', + 'action': 'bulk_delete', 'attempts': 0, 'container': 'c', 'objects': list(objs), @@ -594,7 +594,7 @@ class TestServiceDelete(_TestServiceBase): obj_list = [SwiftDeleteObject('x%02d' % i, options={'version_id': i}) for i in range(100)] expected = [{ - 'action': u'delete_object', + 'action': 'delete_object', 'attempts': 0, 'container': 'c', 'object': obj.object_name, |