Returns an absolute url for the given path on the test server.
(self, path: str)
| 465 | return "http" |
| 466 | |
| 467 | def get_url(self, path: str) -> str: |
| 468 | """Returns an absolute url for the given path on the test server.""" |
| 469 | return f"{self.get_protocol()}://127.0.0.1:{self.get_http_port()}{path}" |
| 470 | |
| 471 | def tearDown(self) -> None: |
| 472 | self.http_server.stop() |
no test coverage detected