necst.web.console_smoke

HTTP smoke-test helpers for the NECST Operator Console.

The smoke test is intentionally read-only by default. It talks to an already running console server and verifies that the operator-facing status, process, and self-check endpoints are wired together. It does not move the telescope, does not move the chopper, and does not start observation launchers.

run_smoke_test(*, url='http://127.0.0.1:8092/', timeout=3.0, include_action_self_check=True, fail_on_warning=False)[source]

Run a read-only smoke test against an already running console server.

Parameters:
  • url (str) –

  • timeout (float) –

  • include_action_self_check (bool) –

  • fail_on_warning (bool) –

Return type:

Dict[str, Any]

print_smoke_report(result, *, stream=None)[source]

Print a compact human-readable smoke-test report.

Parameters:
  • result (Mapping[str, Any]) –

  • stream (Any) –

Return type:

None