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

Function test_drain_before_start

tests/test_web_response.py:899–902  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

897
898@pytest.mark.run_loop
899def test_drain_before_start():
900 resp = StreamResponse()
901 with pytest.raises(RuntimeError):
902 yield from resp.drain()
903
904
905def test_nonstr_text_in_ctor():

Callers

nothing calls this directly

Calls 2

drainMethod · 0.95
StreamResponseClass · 0.90

Tested by

no test coverage detected