(self)
| 1752 | """Legacy Lambda mode with WSGI app.""" |
| 1753 | |
| 1754 | async def test_get_request(self) -> None: |
| 1755 | ep_abs, ep_rel, mod = _make_entrypoint("wsgi_app.py", self.tmp_path) |
| 1756 | result = await _invoke_lambda( |
| 1757 | entrypoint_abs=ep_abs, |
| 1758 | entrypoint_rel=ep_rel, |
| 1759 | module_name=mod, |
| 1760 | event=_lambda_event("GET", "/hello"), |
| 1761 | ) |
| 1762 | self.assertEqual(result["statusCode"], 200) |
| 1763 | body = base64.b64decode(result["body"]).decode() |
| 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) |
nothing calls this directly
no test coverage detected