← Về thư mục
tests/test_user_llm_keys.py
- _body · function · L35-L36 — def _body(raw: bytes) -> dict
- _request · function · L39-L54 — def _request(port: int, method: str, path: str, body: dict, cookie: str)
- daemon · function · L58-L66 — def daemon(tmp_path: Path)
- _session_for · function · L69-L73 — def _session_for(daemon, username: str) -> str
- _State · class · L76-L82 — class _State
- init · method · L79-L82 — def init(self, root_frame_id: str)
- _effective_key · function · L85-L86 — def _effective_key(daemon, session_id: str) -> str
- test_one_users_key_is_never_used_for_another_users_session · function · L92-L109 — def test_one_users_key_is_never_used_for_another_users_session(daemon)
- test_a_user_without_a_key_of_their_own_runs_on_the_shared_one · function · L112-L116 — def test_a_user_without_a_key_of_their_own_runs_on_the_shared_one(daemon)
- test_the_override_is_per_provider · function · L119-L139 — def test_the_override_is_per_provider(daemon)
- test_an_unowned_session_gets_the_shared_key · function · L142-L145 — def test_an_unowned_session_gets_the_shared_key(daemon)
- test_no_route_reads_a_key_back · function · L151-L177 — def test_no_route_reads_a_key_back(daemon)
- test_one_user_cannot_see_or_set_anothers · function · L180-L195 — def test_one_user_cannot_see_or_set_anothers(daemon)
- test_clearing_falls_back_to_the_shared_key · function · L201-L218 — def test_clearing_falls_back_to_the_shared_key(daemon)
- test_clearing_a_key_that_was_never_set_is_not_an_error · function · L221-L228 — def test_clearing_a_key_that_was_never_set_is_not_an_error(daemon)
- test_disabling_an_account_takes_its_keys_with_it · function · L231-L252 — def test_disabling_an_account_takes_its_keys_with_it(daemon)
- test_a_configured_but_unreadable_key_refuses_the_turn · function · L258-L273 — def test_a_configured_but_unreadable_key_refuses_the_turn(daemon)
- test_team_mode_off_has_no_such_route · function · L276-L283 — def test_team_mode_off_has_no_such_route(tmp_path)
- test_clearing_a_key_deletes_the_broker_value_too · function · L286-L310 — def test_clearing_a_key_deletes_the_broker_value_too(daemon)
- test_disabling_an_account_deletes_its_broker_values · function · L313-L331 — def test_disabling_an_account_deletes_its_broker_values(daemon)