Skip to main content

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

NameTypeDescription
*argsanyVariable length argument list containing log details such as format strings and message arguments which are ignored.

Returns

TypeDescription
nullNothing is returned as the method body is empty.