API Documentation

pytest-fluent-logging.

pytest_fluent.additional_information_callback(stage_name)[source]

Set custom information callback for any stage.

Parameters:

stage_name (str) – Linked stage name.

pytest_fluent.additional_session_information_callback(function)[source]

Set callback for session information.

Parameters:

function (Callable) – Callable for test session information.

pytest_fluent.additional_test_information_callback(function)[source]

Set callback for test information.

Parameters:

function (Callable) – Callable for test session information.

pytest_fluent.get_session_uid()[source]

Get current session UID.

Return type:

str | None

pytest_fluent.get_test_uid()[source]

Get current test UID.

Return type:

str | None