human_requests.autotest_report

Attributes

Exceptions

AutotestCrash

Unspecified run-time error.

AutotestMethodCrash

Unspecified run-time error.

AutotestHookCrash

Unspecified run-time error.

AutotestParamsCrash

Unspecified run-time error.

Classes

Functions

Module Contents

AutotestFunction[source]
class AutotestCrashData[source]
summary_message: str[source]
detail_message: str[source]
report: str[source]
source_path: str[source]
source_lineno: int[source]
class AutotestSourceLocation[source]
filename: str[source]
lineno: int[source]
start_lineno: int | None = None[source]
end_lineno: int | None = None[source]
colno: int | None = None[source]
end_colno: int | None = None[source]
class AutotestPanelRow[source]
label: str[source]
value: str[source]
label_style: str | None = None[source]
value_style: str | None = None[source]
value_highlights: tuple[tuple[str, str], Ellipsis] = ()[source]
exception AutotestCrash(data: AutotestCrashData)[source]

Unspecified run-time error.

summary_message[source]
detail_message[source]
report[source]
source_path[source]
source_lineno[source]
to_longrepr() _pytest._code.code.ReprExceptionInfo[source]
exception AutotestMethodCrash(data: AutotestCrashData)[source]

Unspecified run-time error.

exception AutotestHookCrash(data: AutotestCrashData)[source]

Unspecified run-time error.

exception AutotestParamsCrash(data: AutotestCrashData)[source]

Unspecified run-time error.

build_autotest_method_crash_report(
*,
api: object,
func: AutotestFunction,
error: BaseException,
context_lines: int = 3,
trace_limit: int = 3,
truncation_context_lines: int = 3,
) str[source]
build_autotest_method_output_error_report(
*,
api: object,
func: AutotestFunction,
error: BaseException,
context_lines: int = 3,
trace_limit: int = 3,
truncation_context_lines: int = 3,
) str[source]
build_autotest_hook_crash_report(
*,
api: object,
hook: AutotestFunction,
error: BaseException,
context_lines: int = 3,
trace_limit: int = 3,
truncation_context_lines: int = 3,
) str[source]
build_autotest_params_crash_report(
*,
api: object,
params_provider: AutotestFunction,
error: BaseException,
context_lines: int = 3,
trace_limit: int = 3,
truncation_context_lines: int = 3,
) str[source]
build_autotest_case_results_report(
records: Sequence[tuple[str, str]],
) str[source]
raise_autotest_method_crash(
*,
api: object,
func: AutotestFunction,
error: BaseException,
source_func: AutotestFunction | None = None,
detail_message: str | None = None,
trace_limit: int = 3,
truncation_context_lines: int = 3,
) NoReturn[source]
raise_autotest_method_output_error(
*,
api: object,
func: AutotestFunction,
error: BaseException,
source_func: AutotestFunction | None = None,
detail_message: str | None = None,
trace_limit: int = 3,
truncation_context_lines: int = 3,
) NoReturn[source]
raise_autotest_hook_crash(
*,
api: object,
hook: AutotestFunction,
error: BaseException,
summary_message: str = 'Autotest hook crashed',
subject_label: str = 'Hook',
subject_value: str | None = None,
source_func: AutotestFunction | None = None,
detail_message: str | None = None,
trace_limit: int = 3,
truncation_context_lines: int = 3,
) NoReturn[source]
raise_autotest_params_crash(
*,
api: object,
params_provider: AutotestFunction,
error: BaseException,
summary_message: str = 'Autotest params preparation crashed',
subject_label: str = 'Params',
subject_value: str | None = None,
source_func: AutotestFunction | None = None,
detail_message: str | None = None,
trace_limit: int = 3,
truncation_context_lines: int = 3,
) NoReturn[source]