← Về thư mục
tests/test_share_projection.py
- _workspace_factory · function · L18-L26 — def _workspace_factory(tmp_path: Path)
- workspace · function · L21-L24 — def workspace(root_frame_id, branch_id)
- _base_session · function · L29-L37 — def _base_session(tmp_path: Path)
- _add_turn · function · L40-L91 — def _add_turn(store, root, project_id, *, user_text, assistant_text, code, stdout)
- _unpack · function · L94-L96 — def _unpack(data: bytes) -> dict[str, bytes]
- _builder · function · L99-L106 — def _builder(store, domain, workspace, tmp_path, *, extra_secret_values=None)
- _unverified_auto_projection · function · L109-L264 — def _unverified_auto_projection(root: str) -> dict
- test_share_rejects_unresolved_revert_workspace · function · L270-L288 — def test_share_rejects_unresolved_revert_workspace(tmp_path)
- test_share_rejects_corrupt_empty_revert_marker · function · L291-L299 — def test_share_rejects_corrupt_empty_revert_marker(tmp_path)
- test_flattened_bundle_round_trips_through_import · function · L302-L369 — def test_flattened_bundle_round_trips_through_import(tmp_path)
- test_flattened_bundle_is_deterministic · function · L372-L387 — def test_flattened_bundle_is_deterministic(tmp_path)
- test_share_projects_active_branch_auto_history_once_and_downgrades_missing_proof · function · L390-L447 — def test_share_projects_active_branch_auto_history_once_and_downgrades_missing_proof( tmp_path, monkeypatch )
- export_auto · function · L403-L405 — def export_auto(root_frame_id, **filters)
- test_bundle_has_no_dangling_references · function · L453-L497 — def test_bundle_has_no_dangling_references(tmp_path)
- test_revert_to_sibling_checkpoint_is_flattened · function · L503-L542 — def test_revert_to_sibling_checkpoint_is_flattened(tmp_path)
- test_secret_shaped_text_is_redacted_not_leaked · function · L548-L565 — def test_secret_shaped_text_is_redacted_not_leaked(tmp_path)
- test_residual_known_secret_bytes_fail_closed · function · L568-L584 — def test_residual_known_secret_bytes_fail_closed(tmp_path): # conftest sets OPENAI4S_LLM_API_KEY=test-key, so "test-key" is a configured # secret whose raw bytes must never leave — even though it is not a # secret-SHAPED string that _safe_text would redact.
- test_extra_secret_value_is_caught · function · L587-L606 — def test_extra_secret_value_is_caught(tmp_path)
- test_secret_workspace_file_is_filtered · function · L609-L625 — def test_secret_workspace_file_is_filtered(tmp_path)
- test_view_matches_projection_and_hides_nonscientific · function · L631-L687 — def test_view_matches_projection_and_hides_nonscientific(tmp_path)