Browse Source

Merge "Fix Python 3 bug in test code"

changes/91/679391/1
Zuul 1 month ago
parent
commit
36fa6833af
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      novajoin_tempest_plugin/tests/scenario/novajoin_manager.py

+ 2
- 1
novajoin_tempest_plugin/tests/scenario/novajoin_manager.py View File

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

Loading…
Cancel
Save