on xenial help sign in
Fix issues raised in MR; removed un-needed function, fixed docstring, fix typo for universal_newlines
commit69c36ae59392f679e94d0b27d2c58052fa1684e0 authorChristopher Lee <chris.lee@canonical.com> dateWed 20 Nov 2013, 09:53 (13 years ago) parentf7ef3ee
1 file changed+2−6
tests/autopilot/unity8/process_helpers.py+2−6
tests/autopilot/unity8/process_helpers.py+2−6
@@ -82,12 +82,8 @@ def restart_unity_with_testability(*args):
8282 return restart_unity(*args)
8383
8484
85−def restart_unity_normally():
86− restart_unity()
87−
88−
8985def restart_unity(*args):
90− """Restarts (or starts) unity8 with the testability driver loaded.
86+ """Restarts (or starts) unity8 using the provided arguments.
9187
9288 Passes *args arguments to the launched process.
9389
@@ -111,7 +107,7 @@ def restart_unity(*args):
111107 output = subprocess.check_output(
112108 command,
113109 stderr=subprocess.STDOUT,
114− universal_newlines=False,
110+ universal_newlines=True,
115111 )
116112 logger.info(output)
117113 pid = _get_unity_pid()