← Về thư mục
tests/test_compute_owner_and_harvest.py
- _cfg · function · L39-L43 — def _cfg(tmp_path) -> Config
- store · function · L50-L55 — def store(tmp_path)
- _create · function · L58-L66 — def _create(store, *, job_id, owner_key, key="shared-key")
- test_one_owners_key_is_invisible_to_another · function · L69-L79 — def test_one_owners_key_is_invisible_to_another(store)
- test_an_owner_still_sees_its_own_key · function · L82-L89 — def test_an_owner_still_sees_its_own_key(store)
- test_two_owners_may_hold_the_same_key · function · L92-L110 — def test_two_owners_may_hold_the_same_key(store)
- test_one_owner_still_cannot_reuse_its_own_key · function · L113-L121 — def test_one_owner_still_cannot_reuse_its_own_key(store)
- test_two_cli_rows_still_cannot_share_a_key · function · L124-L133 — def test_two_cli_rows_still_cannot_share_a_key(store)
- test_a_cli_row_and_a_session_row_may_share_a_key · function · L136-L143 — def test_a_cli_row_and_a_session_row_may_share_a_key(store)
- test_the_manager_refusal_names_only_the_callers_own_job · function · L146-L164 — def test_the_manager_refusal_names_only_the_callers_own_job(tmp_path)
- test_the_manager_still_refuses_the_callers_own_duplicate · function · L167-L179 — def test_the_manager_still_refuses_the_callers_own_duplicate(tmp_path)
- test_the_result_tool_declares_that_it_writes_files · function · L185-L192 — def test_the_result_tool_declares_that_it_writes_files()
- test_a_native_harvest_creates_one_artifact_version_per_file · function · L195-L237 — def test_a_native_harvest_creates_one_artifact_version_per_file(tmp_path)
- harvest · function · L211-L215 — def harvest()
- test_polling_again_does_not_capture_the_same_files_twice · function · L240-L274 — def test_polling_again_does_not_capture_the_same_files_twice(tmp_path)
- harvest · function · L251-L260 — def harvest(): # Faithful to
_publish_harvest, which does not republish on a repeat # poll: the archive is extracted and published once, and a later poll # only reads the already-terminal state. A test that rewrote the file # every time would be measuring its own fixture.
- test_a_writing_tool_without_a_caller_named_path_is_still_covered · function · L277-L311 — def test_a_writing_tool_without_a_caller_named_path_is_still_covered(tmp_path)
- test_the_browser_refresh_route_registers_what_it_harvested · function · L314-L355 — def test_the_browser_refresh_route_registers_what_it_harvested(tmp_path, monkeypatch)
- _Manager · class · L326-L331 — class _Manager
- result · method · L327-L331 — def result(self, spec)
- test_the_idempotency_index_is_replaced_on_an_existing_database · function · L358-L403 — def test_the_idempotency_index_is_replaced_on_an_existing_database(tmp_path)
- _Hub · class · L406-L421 — class _Hub
- init · method · L409-L410 — def init(self) -> None
- emitter · method · L412-L417 — def emitter(self, root_frame_id: str)
- emit · function · L413-L415 — def emit(event: dict) -> None
- broadcast · method · L419-L421 — def broadcast(self, root_frame_id: str, event: dict) -> None