← Về thư mục
tests/test_share_service.py
- FakeTunnel · class · L15-L24 — class FakeTunnel
- init · method · L16-L18 — def init(self) -> None
- add_share · method · L20-L21 — def add_share(self, share_id: str) -> None
- remove_share · method · L23-L24 — def remove_share(self, share_id: str) -> None
- _make · function · L27-L65 — def _make(tmp_path: Path)
- workspace · function · L31-L34 — def workspace(root_frame_id, branch_id)
- test_create_publishes_ready_snapshot · function · L68-L79 — def test_create_publishes_ready_snapshot(tmp_path)
- test_one_active_share_per_frame · function · L82-L86 — def test_one_active_share_per_frame(tmp_path)
- test_bundle_and_view_share_one_projection_identity · function · L89-L104 — def test_bundle_and_view_share_one_projection_identity(tmp_path)
- test_update_replaces_snapshot_and_keeps_url · function · L107-L123 — def test_update_replaces_snapshot_and_keeps_url(tmp_path)
- test_lease_blocks_gc_of_old_snapshot · function · L126-L150 — def test_lease_blocks_gc_of_old_snapshot(tmp_path)
- test_revoke_marks_revoked_and_blocks_acquire · function · L153-L163 — def test_revoke_marks_revoked_and_blocks_acquire(tmp_path)
- test_revoke_for_session_removes_rows_and_files · function · L166-L172 — def test_revoke_for_session_removes_rows_and_files(tmp_path)
- test_restore_promotes_publishing_with_complete_snapshot · function · L178-L193 — def test_restore_promotes_publishing_with_complete_snapshot(tmp_path)
- test_restore_fails_ready_row_with_missing_snapshot · function · L196-L206 — def test_restore_fails_ready_row_with_missing_snapshot(tmp_path)
- test_restore_sweeps_tmp · function · L209-L217 — def test_restore_sweeps_tmp(tmp_path)
- test_new_share_id_is_dns_safe · function · L220-L224 — def test_new_share_id_is_dns_safe()