← Về thư mục
tests/test_share_gateway.py
- _Hub · class · L10-L26 — class _Hub
- init · method · L11-L12 — def init(self)
- emitter · method · L14-L19 — def emitter(self, root_frame_id)
- emit · function · L15-L17 — def emit(event)
- broadcast · method · L21-L23 — def broadcast(self, root_frame_id, event)
- drop_frame · method · L25-L26 — def drop_frame(self, root_frame_id)
- _runner · function · L29-L37 — def _runner(tmp_path: Path, share: ShareConfig | None = None)
- _seed_frame · function · L40-L60 — def _seed_frame(runner)
- test_sharing_off_by_default_no_tunnel · function · L63-L70 — def test_sharing_off_by_default_no_tunnel(tmp_path)
- test_enable_unconfigured_reports_missing · function · L73-L81 — def test_enable_unconfigured_reports_missing(tmp_path)
- test_create_and_revoke_share_without_tunnel · function · L84-L97 — def test_create_and_revoke_share_without_tunnel(tmp_path)
- test_delete_session_revokes_shares · function · L100-L112 — def test_delete_session_revokes_shares(tmp_path)
- test_storage_cascade_drops_share_rows · function · L115-L126 — def test_storage_cascade_drops_share_rows(tmp_path): # Defense in depth: even a share row left behind (no revoke callback) is # removed by the low-level session deletion aggregate.
- test_enable_configured_creates_tunnel · function · L129-L147 — def test_enable_configured_creates_tunnel(tmp_path)