← Về thư mục
tests/test_session_and_message_paging.py
- _Hub · class · L47-L52 — class _Hub
- emitter · method · L48-L49 — def emitter(self, root_frame_id)
- broadcast · method · L51-L52 — def broadcast(self, root_frame_id, event)
- _Client · class · L55-L87 — class _Client
- init · method · L63-L65 — def init(self, cfg, runner, data_dir)
- raw · method · L67-L83 — def raw(self, path)
- get · method · L85-L87 — def get(self, path)
- server · function · L91-L101 — def server(tmp_path)
- _project · function · L104-L108 — def _project(runner, name="paging")
- _walk_sessions · function · L111-L128 — def _walk_sessions(client, project_id, *, page=100, max_pages=40)
- test_the_session_cursor_reaches_all_260_sessions_exactly_once · function · L131-L150 — def test_the_session_cursor_reaches_all_260_sessions_exactly_once(server)
- test_a_session_created_mid_walk_does_not_disturb_the_cursor · function · L153-L185 — def test_a_session_created_mid_walk_does_not_disturb_the_cursor(server)
- _seed_conversation · function · L188-L197 — def _seed_conversation(runner, project_id, count=LONG_SESSION)
- test_walking_back_through_640_messages_covers_them_exactly_once · function · L200-L225 — def test_walking_back_through_640_messages_covers_them_exactly_once(server)
- test_a_message_arriving_mid_walk_does_not_shift_the_page · function · L228-L247 — def test_a_message_arriving_mid_walk_does_not_shift_the_page(server)
- test_a_malformed_page_size_is_refused_instead_of_crashing · function · L250-L266 — def test_a_malformed_page_size_is_refused_instead_of_crashing(server)
- test_a_negative_page_size_is_not_reported_as_the_start_of_history · function · L269-L281 — def test_a_negative_page_size_is_not_reported_as_the_start_of_history(server)
- test_a_page_size_beyond_the_ceiling_is_clamped · function · L284-L295 — def test_a_page_size_beyond_the_ceiling_is_clamped(server)
- test_the_exported_package_carries_the_first_and_last_message_of_every_branch · function · L298-L351 — def test_the_exported_package_carries_the_first_and_last_message_of_every_branch( server, )