QuietWSGIRequestHandler
A WSGIRequestHandler that doesn't log to standard output any of the requests received, so as to not clutter the test result output.
Constructor
Signature
def QuietWSGIRequestHandler()
Methods
log_message()
@classmethod
def log_message(
*args: any
) - > null
Overrides the default logging behavior to suppress output. This prevents request logs from cluttering the standard output during test execution.
Parameters
| Name | Type | Description |
|---|---|---|
| *args | any | Variable length argument list containing log details such as format strings and message arguments which are ignored. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned as the method body is empty. |