MCPcopy
hub / github.com/aio-libs/aiohttp / test_write_before_start

Function test_write_before_start

tests/test_web_response.py:368–372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

366
367
368def test_write_before_start():
369 resp = StreamResponse()
370
371 with pytest.raises(RuntimeError):
372 resp.write(b'data')
373
374
375@pytest.mark.run_loop

Callers

nothing calls this directly

Calls 2

writeMethod · 0.95
StreamResponseClass · 0.90

Tested by

no test coverage detected