(self, output)
| 1516 | return res.read() |
| 1517 | |
| 1518 | def parse_cli_output(self, output): |
| 1519 | match = re.search(r'Serving (HTTP|HTTPS) on (.+) port (\d+)', output) |
| 1520 | if match is None: |
| 1521 | return None, None, None |
| 1522 | return match.group(1).lower(), match.group(2), int(match.group(3)) |
| 1523 | |
| 1524 | def wait_for_server(self, proc, protocol, bind, port): |
| 1525 | """Check that the server has been successfully started.""" |
no test coverage detected