Home
last modified time | relevance | path

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

/tools/asuite/atest-py2/
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.py189 capture_output = StringIO()
190 sys.stdout = capture_output
195 self.assertEqual(capture_output.getvalue(), uncolored_string)
199 capture_output = StringIO()
200 sys.stdout = capture_output
205 self.assertEqual(capture_output.getvalue(),
210 capture_output = StringIO()
211 sys.stdout = capture_output
216 self.assertEqual(capture_output.getvalue(),
221 capture_output = StringIO()
[all …]
Datest_unittest.py119 capture_output = StringIO()
120 sys.stdout = capture_output
136 self.assertEqual(capture_output.getvalue(), correct_output)
140 capture_output = StringIO()
141 sys.stdout = capture_output
149 self.assertEqual(capture_output.getvalue(), null_output)
194 capture_output = StringIO()
195 sys.stdout = capture_output
224 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.py382 capture_output = StringIO()
383 sys.stdout = capture_output
388 self.assertEqual(capture_output.getvalue(), output)
Datest_utils.py147 capture_output = []
152 capture_output.append(line)
155 return capture_output
/tools/repohooks/rh/
Dgit.py34 result = rh.utils.run(cmd, capture_output=True)
39 result = rh.utils.run(cmd, capture_output=True)
50 result = rh.utils.run(cmd, capture_output=True)
57 result = rh.utils.run(cmd, capture_output=True)
63 result = rh.utils.run(cmd, capture_output=True)
74 result = rh.utils.run(cmd, capture_output=True)
89 return rh.utils.run(cmd, capture_output=True).stdout
103 return rh.utils.run(cmd, capture_output=True).stdout
145 diff = rh.utils.run(cmd, cwd=path, capture_output=True).stdout
175 return rh.utils.run(cmd, capture_output=True).stdout.split()
[all …]
Dutils.py264 check=True, int_timeout=1, kill_timeout=1, capture_output=False, argument
299 if capture_output:
/tools/repohooks/tools/
Dgoogle-java-format.py83 diff = rh.utils.run(diff_cmd, capture_output=True).stdout
91 stdout = rh.utils.run(cmd, input=diff, capture_output=True,
Dclang-format.py83 result = rh.utils.run(cmd, capture_output=True)
/tools/repohooks/
Dpre-upload.py358 result = rh.utils.run(cmd, capture_output=True)
427 return rh.utils.run(cmd, capture_output=True, cwd=path).stdout.strip()
459 git_dir = rh.utils.run(cmd, capture_output=True).stdout.strip()
/tools/asuite/atest-py2/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/asuite/atest/test_runners/
Datest_tf_test_runner_unittest.py236 capture_output = StringIO()
237 sys.stdout = capture_output
241 self.assertTrue('tf msg' in capture_output.getvalue())