aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlikui <likui@yovole.com>2021-01-03 12:48:22 +0800
committerlikui <likui@yovole.com>2021-01-23 17:17:50 +0800
commit341a6ed08ef100e2db62d9c0d4db728036ecc1c4 (patch)
tree7b60fc9ee65e6302dac597ac1e493320491b1e7d /tests
parentf1178c24e16efd2c02f185b9b01b35fd95e2f618 (diff)
downloadkolla-ansible-341a6ed08ef100e2db62d9c0d4db728036ecc1c4.tar.gz
kolla-ansible-341a6ed08ef100e2db62d9c0d4db728036ecc1c4.zip
remove unicode from code
Change-Id: Id9110a1f536377cea0386dda6814035d73de13b1 Implements: blueprint remove-unicode
Diffstat (limited to 'tests')
-rw-r--r--tests/test_kolla_docker.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_kolla_docker.py b/tests/test_kolla_docker.py
index fb724aad8..29db3111f 100644
--- a/tests/test_kolla_docker.py
+++ b/tests/test_kolla_docker.py
@@ -558,8 +558,8 @@ class TestContainer(base.BaseTestCase):
State = {'Dead': False,
'ExitCode': 0,
'Pid': 12475,
- 'StartedAt': u'2016-06-07T11:22:37.66876269Z',
- 'Status': u'running'}
+ 'StartedAt': '2016-06-07T11:22:37.66876269Z',
+ 'Status': 'running'}
self.fake_data['container_inspect'].update({'State': State})
self.dw = get_DockerWorker({'name': 'my_container',
'action': 'get_container_state'})
@@ -865,7 +865,7 @@ class TestVolume(base.BaseTestCase):
self.fake_data = copy.deepcopy(FAKE_DATA)
self.volumes = {
'Volumes':
- [{'Driver': u'local',
+ [{'Driver': 'local',
'Labels': None,
'Mountpoint': '/var/lib/docker/volumes/nova_compute/_data',
'Name': 'nova_compute'},