← Về thư mục
tests/test_team_governance_routes.py
- daemon · function · L28-L38 — def daemon(tmp_path: Path)
- _body · function · L41-L42 — def _body(raw: bytes) -> dict
- _pid · function · L45-L46 — def _pid(daemon) -> str
- _uid · function · L49-L50 — def _uid(daemon, username: str) -> str
- _create_session · function · L53-L58 — def _create_session(daemon, cookie: str) -> str
- _delete · function · L61-L73 — def _delete(daemon, path: str, cookie: str, body: dict | None = None)
- _put · function · L76-L88 — def _put(daemon, path: str, cookie: str, body: dict)
- _patch · function · L91-L103 — def _patch(daemon, path: str, cookie: str, body: dict)
- test_team_routes_are_admin_only · function · L109-L117 — def test_team_routes_are_admin_only(daemon)
- test_admin_user_management_routes · function · L120-L142 — def test_admin_user_management_routes(daemon)
- test_project_members_see_each_other_but_not_private · function · L148-L180 — def test_project_members_see_each_other_but_not_private(daemon)
- test_project_member_cannot_control_another_members_kernel · function · L184-L226 — def test_project_member_cannot_control_another_members_kernel(daemon)
- test_project_member_cannot_destroy_or_rewrite_another_members_session · function · L230-L270 — def test_project_member_cannot_destroy_or_rewrite_another_members_session(daemon)
- test_project_visible_session_is_read_only_to_other_members · function · L274-L368 — def test_project_visible_session_is_read_only_to_other_members(daemon)
- test_owner_and_admin_may_control_a_session_kernel · function · L375-L407 — def test_owner_and_admin_may_control_a_session_kernel(daemon, username, password)
- test_owner_and_admin_may_mutate_a_session_lifecycle · function · L414-L452 — def test_owner_and_admin_may_mutate_a_session_lifecycle(daemon, username, password)
- test_frame_scoped_kernel_install_is_admin_only_in_team_mode · function · L456-L485 — def test_frame_scoped_kernel_install_is_admin_only_in_team_mode(daemon)
- install · function · L462-L464 — def install(packages, **kwargs)
- test_admin_read_of_private_session_is_audited_per_view · function · L488-L506 — def test_admin_read_of_private_session_is_audited_per_view(daemon)
- test_admin_ws_subscribe_to_private_session_is_audited · function · L509-L530 — def test_admin_ws_subscribe_to_private_session_is_audited(daemon)
- test_visibility_toggle_is_owner_only_over_http · function · L533-L590 — def test_visibility_toggle_is_owner_only_over_http(daemon)
- _invite_guest · function · L596-L615 — def _invite_guest(daemon, root_cookie: str, username: str) -> str
- test_invite_redeem_creates_replay_only_guest · function · L618-L653 — def test_invite_redeem_creates_replay_only_guest(daemon)
- test_invite_is_single_use_and_username_collision_does_not_burn_it · function · L656-L680 — def test_invite_is_single_use_and_username_collision_does_not_burn_it(daemon)
- test_member_replay_and_isolation · function · L683-L690 — def test_member_replay_and_isolation(daemon)
- test_session_quota_blocks_creation_and_usage_is_reported · function · L696-L744 — def test_session_quota_blocks_creation_and_usage_is_reported(daemon)
- test_ledger_attributes_llm_usage_to_the_owner · function · L750-L777 — def test_ledger_attributes_llm_usage_to_the_owner(daemon)
- test_chat_model_quota_gate_runs_before_the_provider_call · function · L780-L795 — def test_chat_model_quota_gate_runs_before_the_provider_call()
- gate · function · L783-L786 — def gate()