diff options
author | Takashi Kajinami <tkajinam@redhat.com> | 2022-05-17 23:07:02 +0900 |
---|---|---|
committer | Takashi Kajinami <tkajinam@redhat.com> | 2022-05-18 13:31:28 +0000 |
commit | 771eb8640288bce0f4976d6c8481ccf27f94ced9 (patch) | |
tree | 64a6bb81571d018114b17c03a71523219a2a2f2a /functionaltests | |
parent | 69125bfd07398245480e783415352a2ed0c5ee92 (diff) | |
download | python-barbicanclient-771eb8640288bce0f4976d6c8481ccf27f94ced9.tar.gz |
Remove unicode literal5.4.0
... because u'...' is equivalent to '...' in Python 3. Also, removed
the unicode prefix from example outputs because it is no longer shown
in Python 3.
Change-Id: I1f8fbec1d711659872cb07d2dcef9e33d5a9d21a
Diffstat (limited to 'functionaltests')
-rw-r--r-- | functionaltests/base.py | 2 | ||||
-rw-r--r-- | functionaltests/client/v1/functional/test_secrets.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/functionaltests/base.py b/functionaltests/base.py index 8bd75a8..c9fc817 100644 --- a/functionaltests/base.py +++ b/functionaltests/base.py @@ -23,7 +23,7 @@ CONF = config.get_config() class BaseTestCase(oslotest.BaseTestCase): max_payload_size = CONF.keymanager.max_payload_size - max_sized_payload = u'a' * max_payload_size + max_sized_payload = 'a' * max_payload_size oversized_payload = 'a' * (max_payload_size + 1) max_field_size = 255 max_sized_field = 'a' * max_field_size diff --git a/functionaltests/client/v1/functional/test_secrets.py b/functionaltests/client/v1/functional/test_secrets.py index fae6c42..2ea483b 100644 --- a/functionaltests/client/v1/functional/test_secrets.py +++ b/functionaltests/client/v1/functional/test_secrets.py @@ -673,7 +673,7 @@ class SecretsTestCase(base.TestCase): @utils.parameterized_dataset({ 'text/plain': [ - u'meowwwwwwwmeowwwwwww', + 'meowwwwwwwmeowwwwwww', 'text/plain'], 'application/octet-stream': [ |