Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/uvicorn
/ run_one
Method
run_one
tests/protocols/test_http.py:238–239 · tests/protocols/test_http.py::MockLoop.run_one
(self)
Source
from the content-addressed store, hash-verified
236
return
handle
237
238
async
def
run_one(self):
239
return
await self._tasks.pop()
240
241
def
run_later(self, with_delay: float) -> None:
242
later: list[MockTimerHandle] = []
Callers
15
test_get_request
Function · 0.45
test_header_value_allowed_characters
Function · 0.45
test_invalid_header_name
Function · 0.45
test_request_logging
Function · 0.45
test_head_request
Function · 0.45
test_post_request
Function · 0.45
test_keepalive
Function · 0.45
test_keepalive_timeout
Function · 0.45
test_keepalive_timeout_with_pipelined_requests
Function · 0.45
test_close
Function · 0.45
test_chunked_encoding
Function · 0.45
test_chunked_encoding_empty_body
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected