← Về thư mục
tests/test_artifact_ref_chip.py
- _Hub · class · L43-L62 — class _Hub
- init · method · L44-L45 — def init(self) -> None
- emitter · method · L47-L52 — def emitter(self, root_frame_id: str)
- emit · function · L48-L50 — def emit(event: dict) -> None
- broadcast · method · L54-L55 — def broadcast(self, root_frame_id: str, event: dict) -> None
- has_subscriber · method · L57-L59 — def has_subscriber(self, root_frame_id: str) -> bool
- drop_frame · method · L61-L62 — def drop_frame(self, root_frame_id: str) -> None
- _cfg · function · L65-L70 — def _cfg(tmp_path, **extra) -> Config
- _seed · function · L73-L95 — def _seed(cfg, store, root_frame_id, project_id, filename, payload)
- _data_service · function · L98-L116 — def _data_service(cfg, store, frame_id, workspace: Path)
- _resolve · function · L108-L112 — def _resolve(path, must_exist=False)
- test_a_sibling_file_can_be_referenced_in_more_than_one_turn · function · L124-L152 — def test_a_sibling_file_can_be_referenced_in_more_than_one_turn(tmp_path)
- _materialise · function · L133-L136 — def _materialise(version_id, name)
- test_two_artifacts_that_share_a_name_are_both_referenceable · function · L155-L187 — def test_two_artifacts_that_share_a_name_are_both_referenceable(tmp_path)
- test_a_resolved_reference_reports_the_six_fields_the_chip_needs · function · L195-L246 — def test_a_resolved_reference_reports_the_six_fields_the_chip_needs(tmp_path)
- test_a_reference_the_budget_dropped_is_not_recorded_as_sent · function · L249-L267 — def test_a_reference_the_budget_dropped_is_not_recorded_as_sent(tmp_path, monkeypatch)
- test_a_chip_that_was_deleted_before_send_leaves_nothing_behind · function · L270-L303 — def test_a_chip_that_was_deleted_before_send_leaves_nothing_behind(tmp_path)
- _materialise · function · L286-L290 — def _materialise(version_id, name)
- _runner · function · L311-L322 — def _runner(monkeypatch, tmp_path)
- _StubDispatcher · class · L325-L335 — class _StubDispatcher
- init · method · L328-L331 — def init(self) -> None
- call · method · L333-L335 — def call(self, method, args)
- test_the_send_path_persists_the_reference_it_actually_sent · function · L338-L361 — def test_the_send_path_persists_the_reference_it_actually_sent(monkeypatch, tmp_path)
- test_reopening_a_session_gets_the_reference_back_from_the_route · function · L364-L408 — def test_reopening_a_session_gets_the_reference_back_from_the_route( monkeypatch, tmp_path )
- test_a_branch_projection_carries_the_reference_with_the_message · function · L411-L430 — def test_a_branch_projection_carries_the_reference_with_the_message( monkeypatch, tmp_path )
- test_metadata_is_merged_into_a_message_rather_than_replacing_it · function · L433-L450 — def test_metadata_is_merged_into_a_message_rather_than_replacing_it(tmp_path)
- test_a_reference_over_the_budget_says_it_was_cut · function · L453-L498 — def test_a_reference_over_the_budget_says_it_was_cut(tmp_path)
- test_a_reference_at_exactly_the_budget_is_not_called_truncated · function · L501-L522 — def test_a_reference_at_exactly_the_budget_is_not_called_truncated(tmp_path)
- test_the_legacy_spelling_reports_the_cut_the_same_way · function · L525-L551 — def test_the_legacy_spelling_reports_the_cut_the_same_way(tmp_path)
- test_the_turn_tells_the_user_its_reference_was_cut · function · L554-L574 — def test_the_turn_tells_the_user_its_reference_was_cut(monkeypatch, tmp_path)
- test_reopening_a_session_still_shows_the_reference_was_partial · function · L577-L620 — def test_reopening_a_session_still_shows_the_reference_was_partial( monkeypatch, tmp_path )