Merge "Fix Python 3 bug in test code"

This commit is contained in:
Zuul 2019-08-20 15:17:45 +00:00 committed by Gerrit Code Review
commit 36fa6833af
1 changed files with 2 additions and 1 deletions

View File

@ -337,4 +337,5 @@ class NovajoinScenarioTest(manager.ScenarioTest):
cmd = ['ssh', '-i', keypair,
'{user}@{hostip}'.format(user=user, hostip=hostip),
'-C', target_cmd]
return subprocess.check_output(cmd)
stdout = subprocess.check_output(cmd)
return stdout.decode('UTF-8')