(scope: Scope, receive: Receive, send: Send)
| 25 | |
| 26 | def test_text_response(test_client_factory: TestClientFactory) -> None: |
| 27 | async def app(scope: Scope, receive: Receive, send: Send) -> None: |
| 28 | response = Response(class="st">"hello, world", media_type=class="st">"text/plain") |
| 29 | await response(scope, receive, send) |
| 30 | |
| 31 | client = test_client_factory(app) |
| 32 | response = client.get(class="st">"/") |
no test coverage detected