← Về thư mục
tests/test_artifact_scope.py
- _Hub · class · L12-L17 — class _Hub
- emitter · method · L13-L14 — def emitter(self, root_frame_id)
- broadcast · method · L16-L17 — def broadcast(self, root_frame_id, event)
- _config · function · L20-L24 — def _config(tmp_path: Path) -> Config
- test_child_frames_and_artifacts_inherit_root_project_scope · function · L27-L60 — def test_child_frames_and_artifacts_inherit_root_project_scope(tmp_path)
- test_root_capture_finalizes_child_provenance_without_changing_producer · function · L63-L104 — def test_root_capture_finalizes_child_provenance_without_changing_producer(tmp_path)
- test_artifact_rejects_version_from_different_root · function · L107-L131 — def test_artifact_rejects_version_from_different_root(tmp_path)
- test_existing_artifact_without_explicit_scope_inherits_its_owner · function · L134-L158 — def test_existing_artifact_without_explicit_scope_inherits_its_owner(tmp_path)
- test_known_producer_rejects_conflicting_explicit_root · function · L161-L178 — def test_known_producer_rejects_conflicting_explicit_root(tmp_path)
- test_unknown_frame_keeps_legacy_scope_fallback · function · L181-L199 — def test_unknown_frame_keeps_legacy_scope_fallback(tmp_path)
- test_store_migration_repairs_historical_child_scope · function · L202-L243 — def test_store_migration_repairs_historical_child_scope(tmp_path)
- test_web_state_requires_root_id_and_uses_root_project_as_authority · function · L246-L259 — def test_web_state_requires_root_id_and_uses_root_project_as_authority(tmp_path)
- test_serving_an_artifact_by_filename_refuses_an_ambiguous_name · function · L262-L313 — def test_serving_an_artifact_by_filename_refuses_an_ambiguous_name(tmp_path)
- test_version_keyed_reads_are_confined_to_the_calling_session · function · L316-L380 — def test_version_keyed_reads_are_confined_to_the_calling_session(tmp_path)
- _materialisation_service · function · L383-L402 — def _materialisation_service(cfg, store, frame_id, workspace)
- _resolve · function · L394-L398 — def _resolve(path, must_exist=False)
- _seed_version · function · L405-L427 — def _seed_version(cfg, store, root_frame_id, project_id, filename, payload)
- test_materialising_a_sibling_session_artifact_copies_identity_not_the_bytes · function · L430-L478 — def test_materialising_a_sibling_session_artifact_copies_identity_not_the_bytes( tmp_path, )
- test_a_version_in_another_project_is_indistinguishable_from_one_that_is_absent · function · L481-L508 — def test_a_version_in_another_project_is_indistinguishable_from_one_that_is_absent( tmp_path, )
- test_materialising_from_the_same_session_is_refused_as_pointless · function · L511-L521 — def test_materialising_from_the_same_session_is_refused_as_pointless(tmp_path)
- test_a_version_whose_frozen_bytes_are_gone_says_so · function · L524-L539 — def test_a_version_whose_frozen_bytes_are_gone_says_so(tmp_path)
- _dispatcher_for · function · L558-L561 — def _dispatcher_for(cfg, frame_id)
- test_materialise_is_refused_without_approval · function · L564-L581 — def test_materialise_is_refused_without_approval(tmp_path, monkeypatch)
- test_materialise_is_a_gateable_method_at_all · function · L584-L600 — def test_materialise_is_a_gateable_method_at_all(tmp_path)
- test_the_message_path_goes_through_the_dispatcher · function · L603-L629 — def test_the_message_path_goes_through_the_dispatcher(tmp_path)
- fake_dispatcher · function · L617-L619 — def fake_dispatcher(method, args)