Make sure we return unicode strings for process output
Process output is supposed to be represented with lines, so we should
put Python strings in the queue (not bytes). Just in case, we do it only
for Python 3 environment.
To fix that, we reuse code from utils.execute() linux/windows
implementations.
This fixes the TestAsyncProcess.test_async_process_respawns functional
test for Python 3 environment.
Reviewed: https:/ /review. openstack. org/244089 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e30d8cead15 5c119ee2ffde074 312591f7938fb0
Committed: https:/
Submitter: Jenkins
Branch: master
commit e30d8cead155c11 9ee2ffde0743125 91f7938fb0
Author: Ihar Hrachyshka <email address hidden>
Date: Wed Nov 11 13:59:22 2015 +0100
Make sure we return unicode strings for process output
Process output is supposed to be represented with lines, so we should
put Python strings in the queue (not bytes). Just in case, we do it only
for Python 3 environment.
To fix that, we reuse code from utils.execute() linux/windows ions.
implementat
This fixes the TestAsyncProces s.test_ async_process_ respawns functional
test for Python 3 environment.
Related-Bug: #1515118 d44909aab33a002 6372a580016
Change-Id: I9efec2290003ad