MCPcopy Index your code
hub / github.com/encode/httpx / test_reason_phrase_for_status_code

Function test_reason_phrase_for_status_code

tests/test_status_codes.py:22–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def test_reason_phrase_for_status_code():
23 assert httpx.codes.get_reason_phrase(404) == "Not Found"
24
25
26def test_reason_phrase_for_unknown_status_code():

Callers

nothing calls this directly

Calls 1

get_reason_phraseMethod · 0.80

Tested by

no test coverage detected