setup_pytest_logging#

setup_pytest_logging(request=None, mute_requests=True)[source]#

Setup logger in pytest environment.

Quiets out unnecessary logging subsystems.

Parameters:

request – pytest.fixtures.SubRequest instance

Returns:

Test logger - though please use module specific logger

Return type:

Logger