Home
last modified time | relevance | path

Searched refs:capture_output (Results 1 – 17 of 17) sorted by relevance

/tools/tradefederation/core/atest/
Datest_utils_unittest.py167 capture_output = StringIO()
168 sys.stdout = capture_output
173 self.assertEqual(capture_output.getvalue(), uncolored_string)
177 capture_output = StringIO()
178 sys.stdout = capture_output
183 self.assertEqual(capture_output.getvalue(),
188 capture_output = StringIO()
189 sys.stdout = capture_output
194 self.assertEqual(capture_output.getvalue(),
199 capture_output = StringIO()
[all …]
Datest_unittest.py116 capture_output = StringIO()
117 sys.stdout = capture_output
133 self.assertEqual(capture_output.getvalue(), correct_output)
137 capture_output = StringIO()
138 sys.stdout = capture_output
146 self.assertEqual(capture_output.getvalue(), null_output)
189 capture_output = StringIO()
190 sys.stdout = capture_output
219 self.assertEqual(capture_output.getvalue(), correct_output)
Dresult_reporter_unittest.py272 capture_output = StringIO()
273 sys.stdout = capture_output
289 capture_output_str = capture_output.getvalue().strip()
292 capture_output = StringIO()
293 sys.stdout = capture_output
308 capture_output_str = capture_output.getvalue().strip()
Datest_utils.py96 capture_output = []
101 capture_output.append(line)
104 return capture_output
Dcli_translator_unittest.py349 capture_output = StringIO()
350 sys.stdout = capture_output
355 self.assertEqual(capture_output.getvalue(), output)
/tools/asuite/atest/
Datest_utils_unittest.py172 capture_output = StringIO()
173 sys.stdout = capture_output
178 self.assertEqual(capture_output.getvalue(), uncolored_string)
182 capture_output = StringIO()
183 sys.stdout = capture_output
188 self.assertEqual(capture_output.getvalue(),
193 capture_output = StringIO()
194 sys.stdout = capture_output
199 self.assertEqual(capture_output.getvalue(),
204 capture_output = StringIO()
[all …]
Datest_unittest.py116 capture_output = StringIO()
117 sys.stdout = capture_output
133 self.assertEqual(capture_output.getvalue(), correct_output)
137 capture_output = StringIO()
138 sys.stdout = capture_output
146 self.assertEqual(capture_output.getvalue(), null_output)
189 capture_output = StringIO()
190 sys.stdout = capture_output
219 self.assertEqual(capture_output.getvalue(), correct_output)
Dresult_reporter_unittest.py273 capture_output = StringIO()
274 sys.stdout = capture_output
290 capture_output_str = capture_output.getvalue().strip()
293 capture_output = StringIO()
294 sys.stdout = capture_output
309 capture_output_str = capture_output.getvalue().strip()
Dcli_translator_unittest.py350 capture_output = StringIO()
351 sys.stdout = capture_output
356 self.assertEqual(capture_output.getvalue(), output)
Datest_utils.py115 capture_output = []
120 capture_output.append(line)
123 return capture_output
/tools/repohooks/rh/
Dgit.py37 result = rh.utils.run(cmd, capture_output=True)
42 result = rh.utils.run(cmd, capture_output=True)
53 result = rh.utils.run(cmd, capture_output=True)
60 result = rh.utils.run(cmd, capture_output=True)
66 result = rh.utils.run(cmd, capture_output=True)
77 result = rh.utils.run(cmd, capture_output=True)
92 return rh.utils.run(cmd, capture_output=True).stdout
106 return rh.utils.run(cmd, capture_output=True).stdout
148 diff = rh.utils.run(cmd, cwd=path, capture_output=True).stdout
178 return rh.utils.run(cmd, capture_output=True).stdout.split()
[all …]
Dutils.py268 check=True, int_timeout=1, kill_timeout=1, capture_output=False, argument
303 if capture_output:
/tools/repohooks/
Dpre-upload.py352 result = rh.utils.run(cmd, capture_output=True)
421 return rh.utils.run(cmd, capture_output=True, cwd=path).stdout.strip()
453 git_dir = rh.utils.run(cmd, capture_output=True).stdout.strip()
/tools/asuite/atest/test_runners/
Datest_tf_test_runner_unittest.py233 capture_output = StringIO()
234 sys.stdout = capture_output
238 self.assertTrue('tf msg' in capture_output.getvalue())
/tools/tradefederation/core/atest/test_runners/
Datest_tf_test_runner_unittest.py227 capture_output = StringIO()
228 sys.stdout = capture_output
232 self.assertTrue('tf msg' in capture_output.getvalue())
/tools/repohooks/tools/
Dgoogle-java-format.py86 diff = rh.utils.run(diff_cmd, capture_output=True).stdout
94 stdout = rh.utils.run(cmd, input=diff, capture_output=True,
Dclang-format.py86 result = rh.utils.run(cmd, capture_output=True)