← Về thư mục
tests/test_artifact_repository.py
- _repository · function · L22-L38 — def _repository(tmp_path, **overrides)
- _save · function · L41-L50 — def _save(repository, path: Path, **overrides)
- test_save_scopes_versions_and_exact_ownership_errors · function · L53-L128 — def test_save_scopes_versions_and_exact_ownership_errors(tmp_path)
- test_late_bound_scope_getters_and_execute_callbacks_are_observable · function · L131-L204 — def test_late_bound_scope_getters_and_execute_callbacks_are_observable(tmp_path)
- test_record_cell_reuses_provisional_version_and_merges_lineage · function · L207-L286 — def test_record_cell_reuses_provisional_version_and_merges_lineage(tmp_path)
- test_capture_observations_merge_same_cell_and_keep_producer_lineage · function · L289-L350 — def test_capture_observations_merge_same_cell_and_keep_producer_lineage(tmp_path)
- test_matching_head_dedup_is_opt_in_and_preserves_version_provenance · function · L353-L481 — def test_matching_head_dedup_is_opt_in_and_preserves_version_provenance(tmp_path)
- test_artifact_names_for_frame_includes_same_byte_capture_observation · function · L484-L516 — def test_artifact_names_for_frame_includes_same_byte_capture_observation(tmp_path)
- test_matching_head_from_non_cell_producer_reuses_bytes_and_observes_cell · function · L519-L562 — def test_matching_head_from_non_cell_producer_reuses_bytes_and_observes_cell( tmp_path, )
- test_matching_head_dedup_never_searches_historical_versions · function · L565-L605 — def test_matching_head_dedup_never_searches_historical_versions(tmp_path)
- test_concurrent_matching_head_captures_create_one_version_and_two_observations · function · L608-L658 — def test_concurrent_matching_head_captures_create_one_version_and_two_observations( tmp_path, )
- capture · function · L617-L633 — def capture(cell_id: str) -> None
- test_capture_cursor_delta_is_scope_bound_and_returns_exact_version · function · L661-L732 — def test_capture_cursor_delta_is_scope_bound_and_returns_exact_version(tmp_path)
- test_observation_failure_rolls_back_version_lineage_and_artifact · function · L735-L781 — def test_observation_failure_rolls_back_version_lineage_and_artifact(tmp_path)
- test_capture_delta_does_not_silently_drop_the_1001st_reused_cell · function · L784-L822 — def test_capture_delta_does_not_silently_drop_the_1001st_reused_cell(tmp_path)
- test_reused_head_rolls_back_snapshot_pointer_when_observation_fails · function · L825-L882 — def test_reused_head_rolls_back_snapshot_pointer_when_observation_fails(tmp_path)
- test_record_cell_rolls_back_the_whole_transaction_on_lineage_failure · function · L885-L900 — def test_record_cell_rolls_back_the_whole_transaction_on_lineage_failure(tmp_path)
- test_record_cell_revalidates_lineage_scope_inside_its_savepoint · function · L903-L940 — def test_record_cell_revalidates_lineage_scope_inside_its_savepoint(tmp_path)
- test_environment_snapshots_deduplicate_decode_and_bind_versions · function · L943-L986 — def test_environment_snapshots_deduplicate_decode_and_bind_versions(tmp_path)
- test_listing_paths_versions_priority_and_restore_contracts · function · L989-L1049 — def test_listing_paths_versions_priority_and_restore_contracts(tmp_path)
- test_lineage_directions_missing_inputs_and_producing_cell · function · L1052-L1097 — def test_lineage_directions_missing_inputs_and_producing_cell(tmp_path)
- test_rename_delete_cascade_and_shared_path_reclamation · function · L1100-L1136 — def test_rename_delete_cascade_and_shared_path_reclamation(tmp_path)
- test_explicit_artifact_delete_cleans_observations_and_their_env_refs · function · L1139-L1202 — def test_explicit_artifact_delete_cleans_observations_and_their_env_refs(tmp_path)
- test_generic_env_snapshot_gc_preserves_observation_only_provenance · function · L1205-L1244 — def test_generic_env_snapshot_gc_preserves_observation_only_provenance(tmp_path)
- test_the_transaction_refuses_a_cross_project_source_on_its_own · function · L1247-L1300 — def test_the_transaction_refuses_a_cross_project_source_on_its_own(tmp_path)
- _materialise · function · L1278-L1289 — def _materialise(version_id)