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 /barbicanclient/tests/v1/test_cas.py | |
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 'barbicanclient/tests/v1/test_cas.py')
-rw-r--r-- | barbicanclient/tests/v1/test_cas.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/barbicanclient/tests/v1/test_cas.py b/barbicanclient/tests/v1/test_cas.py index 118cfdb..a352661 100644 --- a/barbicanclient/tests/v1/test_cas.py +++ b/barbicanclient/tests/v1/test_cas.py @@ -19,10 +19,10 @@ from barbicanclient.v1 import cas class CAData(object): - def __init__(self, description=u'Test CA description'): - self.name = u'Test CA' + def __init__(self, description='Test CA description'): + self.name = 'Test CA' self.description = description - self.plugin_name = u'Test CA Plugin' + self.plugin_name = 'Test CA Plugin' self.plugin_ca_id = 'plugin_uuid' now = timeutils.utcnow() @@ -35,7 +35,7 @@ class CAData(object): self.meta.append({'description': self.description}) self.ca_dict = {'meta': self.meta, - 'status': u'ACTIVE', + 'status': 'ACTIVE', 'plugin_name': self.plugin_name, 'plugin_ca_id': self.plugin_ca_id, 'created': self.created} |