← Về thư mục
tests/test_attention_view.py
- _Hub · class · L60-L65 — class _Hub
- emitter · method · L61-L62 — def emitter(self, root_frame_id)
- broadcast · method · L64-L65 — def broadcast(self, root_frame_id, event)
- _Client · class · L68-L128 — class _Client
- init · method · L69-L84 — def init(self, tmp_path, *, team_mode: bool = False)
- close · method · L86-L87 — def close(self)
- session · method · L89-L92 — def session(self, name: str) -> str
- get · method · L94-L95 — def get(self, path: str, *, cookie: str | None = None, token: str | None = None)
- _call · method · L97-L128 — def _call( self, method: str, path: str, *, cookie: str | None = None, token: str | None = None, body: dict | None = None, )
- _send · function · L110-L112 — def _send(code, payload, ctype, extra=None, security=None)
- client · function · L132-L137 — def client(tmp_path)
- _seed_running · function · L140-L143 — def _seed_running(client: _Client, name: str = "kind-running") -> str
- _seed_queued · function · L146-L150 — def _seed_queued(client: _Client, name: str = "kind-queued") -> str
- _seed_approval · function · L153-L164 — def _seed_approval(client: _Client, name: str = "kind-approval") -> str
- _seed_recovery · function · L167-L177 — def _seed_recovery(client: _Client, name: str = "kind-recovery") -> str
- _seed_blocked · function · L180-L186 — def _seed_blocked(client: _Client, name: str = "kind-blocked") -> str
- _seed_compute · function · L189-L209 — def _seed_compute( client: _Client, name: str = "kind-compute", *, status: str = "unknown" ) -> str
- _seed_six · function · L212-L220 — def _seed_six(client: _Client) -> dict[str, str]
- _walk_keys · function · L223-L232 — def _walk_keys(value: Any) -> set[str]
- _walk_strings · function · L235-L245 — def _walk_strings(value: Any) -> list[str]
- test_six_kind_fixtures_each_produce_exactly_one_card · function · L248-L272 — def test_six_kind_fixtures_each_produce_exactly_one_card(client)
- test_completed_and_idle_sessions_yield_zero_cards · function · L275-L283 — def test_completed_and_idle_sessions_yield_zero_cards(client)
- test_pending_approval_appears_within_one_poll_window · function · L286-L298 — def test_pending_approval_appears_within_one_poll_window(client)
- test_exact_dock_closed_target_set · function · L301-L308 — def test_exact_dock_closed_target_set(client)
- test_response_has_zero_url_fields_and_no_secrets · function · L311-L333 — def test_response_has_zero_url_fields_and_no_secrets(client)
- test_cursor_is_bound_to_caller_scope · function · L336-L376 — def test_cursor_is_bound_to_caller_scope(client)
- test_cross_user_zero_leakage · function · L379-L440 — def test_cross_user_zero_leakage(tmp_path, monkeypatch)
- test_fifty_session_p95_under_200ms · function · L443-L478 — def test_fifty_session_p95_under_200ms(client)
- test_get_does_not_spawn_retry_approve_or_harvest · function · L481-L530 — def test_get_does_not_spawn_retry_approve_or_harvest(client, monkeypatch)
- _count · function · L492-L497 — def _count(name)
- _inner · function · L493-L495 — def _inner(_args, *_kwargs)
- test_attention_modules_cannot_reach_a_provider_or_kernel · function · L533-L550 — def test_attention_modules_cannot_reach_a_provider_or_kernel()