Lines Matching refs:stdout
58 with terminal.capture() as (stdout, _):
61 self.assertIn('-', stdout.getvalue())
65 with terminal.capture() as (stdout, _):
67 self.assertIn('123', stdout.getvalue())
93 with terminal.capture() as (stdout, _):
95 return stdout.getvalue()
103 stdout = self.check_fetch_url(fail_download, bintool.FETCH_ANY)
104 self.assertIn('my error', stdout)
111 stdout = self.check_fetch_url(cause_exc, bintool.FETCH_ANY)
112 self.assertIn('exc error', stdout)
120 stdout = self.check_fetch_url(fail_download, bintool.FETCH_BIN)
121 self.assertIn('my error', stdout)
147 with terminal.capture() as (stdout, _):
153 lines = stdout.getvalue().splitlines()
180 with terminal.capture() as (stdout, _):
182 lines = stdout.getvalue().splitlines()
223 with terminal.capture() as (stdout, _):
225 lines = stdout.getvalue().splitlines()
258 with terminal.capture() as (stdout, _):
261 return fname if write_file else self.fname, stdout.getvalue()
265 fname, stdout = self.check_build_method(write_file=True)
267 self.assertIn(f"writing to '{fname}", stdout)
271 fname, stdout = self.check_build_method(write_file=False)
273 self.assertIn(f"File '{fname}' was not produced", stdout)