make_test_request_handler
make_test_request_handler(responses: dict[str, dict[str, Any]]) -> type[BaseHTTPRequestHandler]Create a request handler class with configured responses.
Parameters
- responses: dict[str, dict[str, Any]]
Dictionary mapping paths to response configurations
Returns
type[BaseHTTPRequestHandler]
A new handler class with responses bound as a class attribute