← Về thư mục
tests/test_team_session_ownership.py
- daemon · function · L25-L34 — def daemon(tmp_path: Path)
- _body · function · L37-L38 — def _body(raw: bytes) -> dict
- _project_id · function · L41-L42 — def _project_id(daemon) -> str
- _create_session · function · L45-L72 — def _create_session(daemon, cookie: str, *, name: str | None = None) -> str
- test_creation_records_the_owner · function · L75-L81 — def test_creation_records_the_owner(daemon)
- test_enumeration_is_ownership_filtered · function · L84-L101 — def test_enumeration_is_ownership_filtered(daemon)
- test_admin_sees_everything · function · L104-L110 — def test_admin_sees_everything(daemon)
- test_cross_user_read_is_404_not_403 · function · L113-L127 — def test_cross_user_read_is_404_not_403(daemon)
- test_cross_user_operations_are_refused · function · L130-L149 — def test_cross_user_operations_are_refused(daemon)
- test_unowned_session_is_admin_only · function · L152-L161 — def test_unowned_session_is_admin_only(daemon)
- test_search_does_not_leak_other_users_sessions · function · L164-L176 — def test_search_does_not_leak_other_users_sessions(daemon)
- test_project_timeline_is_ownership_filtered · function · L179-L199 — def test_project_timeline_is_ownership_filtered(daemon)
- test_deleting_a_session_removes_its_ownership_row · function · L202-L208 — def test_deleting_a_session_removes_its_ownership_row(daemon)
- _speak_delete · function · L211-L220 — def _speak_delete(daemon, fid: str, cookie: str)
- test_service_identity_sees_everything · function · L223-L227 — def test_service_identity_sees_everything(daemon)
- test_an_undecidable_creator_is_refused_not_admitted · function · L230-L261 — def test_an_undecidable_creator_is_refused_not_admitted(daemon, monkeypatch)
- _boom · function · L257-L258 — def _boom(self, user_id)