return the matching regex line from reckless output.
(self, regex)
| 103 | return f'self.returncode, self.stdout, self.stderr' |
| 104 | |
| 105 | def search_stdout(self, regex): |
| 106 | """return the matching regex line from reckless output.""" |
| 107 | ex = re.compile(regex) |
| 108 | matching = [] |
| 109 | for line in self.stdout: |
| 110 | if ex.search(line): |
| 111 | matching.append(line) |
| 112 | return matching |
| 113 | |
| 114 | def check_stderr(self): |
| 115 | def output_okay(out): |
no test coverage detected