← Về thư mục
tests/test_session_title_service.py
- FakeStore · class · L11-L25 — class FakeStore
- init · method · L12-L16 — def init(self, frame: dict | None, events: list | None = None) -> None
- get_frame · method · L18-L21 — def get_frame(self, frame_id)
- update_frame · method · L23-L25 — def update_frame(self, frame_id, **fields)
- ImmediateThreadFactory · class · L28-L46 — class ImmediateThreadFactory
- init · method · L29-L30 — def init(self) -> None
- call · method · L32-L46 — def call(self, *, target, name, daemon)
- ImmediateThread · class · L41-L44 — class ImmediateThread
- start · method · L42-L44 — def start(inner_self)
- _service · function · L49-L70 — def _service( *, store: FakeStore | None = None, chat_call=None, events: list | None = None, )
- broadcast · function · L60-L62 — def broadcast(frame_id, event)
- test_summarize_late_binds_chat_and_preserves_prompt_contract · function · L73-L90 — def test_summarize_late_binds_chat_and_preserves_prompt_contract(monkeypatch)
- fake_chat · function · L77-L79 — def fake_chat(messages, cfg, **kwargs)
- test_summarize_rejects_truncated_provider_replies · function · L94-L102 — def test_summarize_rejects_truncated_provider_replies(finish_reason)
- test_summarize_skips_empty_input_without_chat_and_cleans_balanced_wrappers · function · L105-L125 — def test_summarize_skips_empty_input_without_chat_and_cleans_balanced_wrappers()
- chat_call · function · L115-L117 — def chat_call(_args, *_kwargs)
- test_spawn_reads_placeholder_before_write_and_broadcasts_bare_event · function · L128-L176 — def test_spawn_reads_placeholder_before_write_and_broadcasts_bare_event()
- chat_call · function · L135-L137 — def chat_call(_args, *_kwargs)
- test_spawn_does_not_overwrite_user_or_concurrent_title_changes · function · L187-L198 — def test_spawn_does_not_overwrite_user_or_concurrent_title_changes(frame)
- test_spawn_keeps_placeholder_without_read_on_unusable_or_failed_summary · function · L209-L222 — def test_spawn_keeps_placeholder_without_read_on_unusable_or_failed_summary( chat_call, )
- test_spawn_resolves_replaced_store_when_background_work_starts · function · L225-L242 — def test_spawn_resolves_replaced_store_when_background_work_starts()
- test_spawn_uses_injected_summary_wrapper_for_runtime_overrides · function · L245-L255 — def test_spawn_uses_injected_summary_wrapper_for_runtime_overrides()