(self)
| 1764 | self.assertEqual(body, "GET /hello") |
| 1765 | |
| 1766 | async def test_query_string(self) -> None: |
| 1767 | ep_abs, ep_rel, mod = _make_entrypoint("wsgi_app.py", self.tmp_path) |
| 1768 | result = await _invoke_lambda( |
| 1769 | entrypoint_abs=ep_abs, |
| 1770 | entrypoint_rel=ep_rel, |
| 1771 | module_name=mod, |
| 1772 | event=_lambda_event("GET", "/search?q=test"), |
| 1773 | ) |
| 1774 | self.assertEqual(result["statusCode"], 200) |
| 1775 | body = base64.b64decode(result["body"]).decode() |
| 1776 | self.assertEqual(body, "GET /search?q=test") |
| 1777 | |
| 1778 | async def test_post_with_base64_body(self) -> None: |
| 1779 | ep_abs, ep_rel, mod = _make_entrypoint("wsgi_app.py", self.tmp_path) |
nothing calls this directly
no test coverage detected