← Về thư mục
tests/test_gateway_session_domain_routes.py
- _Hub · class · L12-L32 — class _Hub
- init · method · L13-L15 — def init(self) -> None
- emitter · method · L17-L22 — def emitter(self, root_frame_id)
- emit · function · L18-L20 — def emit(event)
- broadcast · method · L24-L25 — def broadcast(self, root_frame_id, event)
- has_subscriber · method · L27-L29 — def has_subscriber(self, root_frame_id)
- drop_frame · method · L31-L32 — def drop_frame(self, root_frame_id)
- _InspectableKernel · class · L35-L55 — class _InspectableKernel
- init · method · L36-L43 — def init(self, variables) -> None
- is_alive · method · L45-L46 — def is_alive(self)
- inspect_variables · method · L48-L52 — def inspect_variables(self, *, limit=200)
- shutdown · method · L54-L55 — def shutdown(self)
- _setup · function · L58-L70 — def _setup(tmp_path)
- _call · function · L73-L85 — def _call(handler, method, path, *, body=None, query=None)
- test_delete_frame_drops_its_websocket_resume_window · function · L88-L97 — def test_delete_frame_drops_its_websocket_resume_window(tmp_path)
- test_checkpoint_fork_and_workbench_routes_share_domain_service · function · L100-L155 — def test_checkpoint_fork_and_workbench_routes_share_domain_service(tmp_path)
- test_promote_route_freezes_scientific_cell_as_markdown_artifact · function · L158-L192 — def test_promote_route_freezes_scientific_cell_as_markdown_artifact(tmp_path)
- test_promote_route_rejects_unknown_cell · function · L195-L205 — def test_promote_route_rejects_unknown_cell(tmp_path)
- test_branch_activation_restores_checkpoint_projection_and_runtime_binding · function · L208-L332 — def test_branch_activation_restores_checkpoint_projection_and_runtime_binding( tmp_path, )
- test_branch_revert_and_undo_routes_complete_the_workbench_contract · function · L335-L437 — def test_branch_revert_and_undo_routes_complete_the_workbench_contract(tmp_path)
- test_notebook_export_and_renderer_routes_return_immutable_descriptors · function · L440-L487 — def test_notebook_export_and_renderer_routes_return_immutable_descriptors(tmp_path)
- test_unknown_session_workbench_routes_fail_with_one_404_contract · function · L490-L514 — def test_unknown_session_workbench_routes_fail_with_one_404_contract(tmp_path)
- test_restart_permission_route_requires_explicit_continuation · function · L517-L611 — def test_restart_permission_route_requires_explicit_continuation(tmp_path)
- test_permission_decision_route_requires_a_json_boolean · function · L615-L641 — def test_permission_decision_route_requires_a_json_boolean(tmp_path, invalid_allow)
- test_variable_inspector_route_never_starts_workers_and_is_idle_only · function · L644-L768 — def test_variable_inspector_route_never_starts_workers_and_is_idle_only(tmp_path)
- test_fork_from_cell_route_fails_closed_until_supported · function · L771-L785 — def test_fork_from_cell_route_fails_closed_until_supported(tmp_path)
- test_exact_cell_and_message_cursor_forks_are_isolated_and_view_only · function · L788-L886 — def test_exact_cell_and_message_cursor_forks_are_isolated_and_view_only(tmp_path)
- loop_after_message · function · L849-L852 — def loop_after_message(st, _emit, _visible)
- test_message_snapshot_failure_does_not_fail_message_or_advertise_fork · function · L889-L939 — def test_message_snapshot_failure_does_not_fail_message_or_advertise_fork(tmp_path)
- fail_capture · function · L894-L895 — def fail_capture(_args, *_kwargs)
- successful_loop · function · L897-L899 — def successful_loop(st, _emit, _visible)
- test_real_runner_checkpoint_can_restore_through_mutation_route · function · L942-L1002 — def test_real_runner_checkpoint_can_restore_through_mutation_route(tmp_path)
- test_failed_fresh_recovery_keeps_exact_current_generation · function · L1005-L1047 — def test_failed_fresh_recovery_keeps_exact_current_generation(monkeypatch, tmp_path)
- fail_bootstrap · function · L1021-L1022 — def fail_bootstrap(_runtime, _candidate, _manifest)
- _advertised_recovery_action_ids · function · L1055-L1062 — def _advertised_recovery_action_ids(tmp_path) -> set[str]
- _routable_recovery_action_ids · function · L1065-L1075 — def _routable_recovery_action_ids() -> set[str]
- _client_recovery_action_ids · function · L1078-L1088 — def _client_recovery_action_ids() -> set[str]
- test_every_advertised_recovery_action_is_invocable · function · L1091-L1111 — def test_every_advertised_recovery_action_is_invocable(tmp_path)
- test_the_route_accepts_nothing_it_is_not_advertising · function · L1114-L1118 — def test_the_route_accepts_nothing_it_is_not_advertising(tmp_path)
- test_an_unknown_recovery_action_is_rejected · function · L1121-L1136 — def test_an_unknown_recovery_action_is_rejected(tmp_path)