oc_chat
Loading...
Searching...
No Matches
runner.py File Reference

Go to the source code of this file.

Classes

class  oc_chat.testing.runner.StandInTimeoutError
class  oc_chat.testing.runner.RunResult
class  oc_chat.testing.runner.SessionOutcome
class  oc_chat.testing.runner._SignalState
class  oc_chat.testing.runner._Collector

Namespaces

namespace  oc_chat
namespace  oc_chat.testing
namespace  oc_chat.testing.runner

Functions

str oc_chat.testing.runner._outcome_for (str nodeid, dict rec, set[str] timed_out)
SessionOutcome oc_chat.testing.runner.run_session (*, Sequence[str] pytest_args, Path root, int|None timeout, bool dry_run, _SignalState|None sig_state=None, bool install_signal_handlers=True, str|None violation_file=None, str violation_scope="")
dict oc_chat.testing.runner._build_report (*, str run_id, str status, int exit_code, str|None workspace_root, str|None workspace_mode, list[str] packages, str|None profile, str|None marker, int|None seed, list[str] nodeids, int|str|None workers_requested, int|None workers_actual, str|None dist_mode, int collected, list[dict] tests, list[dict] violations, list[dict] errors, float duration_seconds, dict|None scheduling=None)
dict[str, str] oc_chat.testing.runner._features_for (str|None dist_mode)
dict oc_chat.testing.runner.serial_scheduling (str|None reason)
RunResult oc_chat.testing.runner._pre_execution_result (*, str run_id, float t0, list[dict] errors, StandInConfig|None cfg, WalkResult|None walk, str failed_step)
RunResult oc_chat.testing.runner.run_standin (list[str] argv, Path|None cwd=None)
RunResult oc_chat.testing.runner._run (list[str] argv, Path base_cwd, str run_id, float t0)
list[dict] oc_chat.testing.runner._tests_from_units (Sequence[UnitOutcome] outcomes)
dict oc_chat.testing.runner._parallel_scheduling (*, Path manifest_path, Path root, WorkerPlan plan, Sequence[UnitOutcome] outcomes, Sequence[str] missing)

Variables

str oc_chat.testing.runner.STANDIN_ACTIVE_ENV = "OC_CHAT_STANDIN_ACTIVE"
dict oc_chat.testing.runner._PROFILE_EXPRESSIONS
int oc_chat.testing.runner._LONGREPR_CAP = 2000