← Về thư mục
tests/test_memory_scope_and_budgets.py
- _Hub · class · L39-L44 — class _Hub
- emitter · method · L40-L41 — def emitter(self, root_frame_id)
- broadcast · method · L43-L44 — def broadcast(self, root_frame_id, event)
- _Client · class · L47-L107 — class _Client
- init · method · L55-L65 — def init(self, tmp_path)
- project · method · L67-L69 — def project(self, name)
- system_prompt · method · L71-L77 — def system_prompt(self, project_id)
- get · method · L79-L80 — def get(self, path)
- post · method · L82-L83 — def post(self, path, body)
- delete · method · L85-L86 — def delete(self, path)
- _call · method · L88-L107 — def _call(self, method, path, body)
- _send · function · L93-L95 — def _send(code, payload, ctype, extra=None)
- client · function · L111-L112 — def client(tmp_path)
- test_a_save_without_a_scope_is_refused_instead_of_landing_where_nothing_reads · function · L120-L137 — def test_a_save_without_a_scope_is_refused_instead_of_landing_where_nothing_reads( client, )
- test_a_scoped_save_is_in_the_next_session_of_that_project · function · L140-L150 — def test_a_scoped_save_is_in_the_next_session_of_that_project(client)
- test_a_save_addressed_to_a_project_that_does_not_exist_is_refused · function · L153-L163 — def test_a_save_addressed_to_a_project_that_does_not_exist_is_refused(client)
- test_a_project_inherits_global_memories_but_its_own_block_wins · function · L171-L193 — def test_a_project_inherits_global_memories_but_its_own_block_wins(client)
- test_inheritance_does_not_reopen_the_cross_project_leak · function · L196-L206 — def test_inheritance_does_not_reopen_the_cross_project_leak(client)
- test_a_projects_own_memories_outrank_what_it_inherits · function · L209-L220 — def test_a_projects_own_memories_outrank_what_it_inherits(client)
- test_a_delete_does_not_cross_a_project_boundary · function · L228-L247 — def test_a_delete_does_not_cross_a_project_boundary(client)
- test_a_delete_that_names_no_scope_is_refused_rather_than_guessed · function · L250-L258 — def test_a_delete_that_names_no_scope_is_refused_rather_than_guessed(client)
- test_a_global_memory_is_not_deletable_through_a_project_that_inherits_it · function · L261-L272 — def test_a_global_memory_is_not_deletable_through_a_project_that_inherits_it(client)
- test_an_oversized_memory_is_refused_before_it_is_stored · function · L280-L292 — def test_an_oversized_memory_is_refused_before_it_is_stored(client)
- test_a_scope_cannot_grow_past_its_limit · function · L295-L304 — def test_a_scope_cannot_grow_past_its_limit(client)
- test_an_empty_memory_is_refused_instead_of_stored_as_a_blank_row · function · L307-L314 — def test_an_empty_memory_is_refused_instead_of_stored_as_a_blank_row(client)
- test_a_refused_write_reaches_a_cell_as_an_error_not_a_dead_kernel · function · L317-L328 — def test_a_refused_write_reaches_a_cell_as_an_error_not_a_dead_kernel(client, tmp_path)
- test_an_expired_memory_is_withheld_and_reported_but_not_destroyed · function · L331-L356 — def test_an_expired_memory_is_withheld_and_reported_but_not_destroyed(client)
- test_the_context_preview_names_its_scope_and_what_inheritance_did · function · L364-L387 — def test_the_context_preview_names_its_scope_and_what_inheritance_did(client)