(self, path, context=None)
| 1511 | f.write(self.tls_password) |
| 1512 | |
| 1513 | def fetch_file(self, path, context=None): |
| 1514 | req = urllib.request.Request(path, method='GET') |
| 1515 | with urllib.request.urlopen(req, context=context) as res: |
| 1516 | return res.read() |
| 1517 | |
| 1518 | def parse_cli_output(self, output): |
| 1519 | match = re.search(r'Serving (HTTP|HTTPS) on (.+) port (\d+)', output) |
no test coverage detected