← Về thư mục
scripts/test_ars_anchorize_draft.py
- _strip_marker_lines · function · L51-L57 — def _strip_marker_lines(text: str) -> str
- TestAnchorizeText · class · L60-L101 — class TestAnchorizeText(unittest.TestCase)
- test_all_blocks_labeled · method · L61-L65 — def test_all_blocks_labeled(self)
- test_ids_zero_padded_sequential_document_order · method · L67-L70 — def test_ids_zero_padded_sequential_document_order(self)
- test_idempotent · method · L72-L74 — def test_idempotent(self)
- test_content_neutral · method · L76-L78 — def test_content_neutral(self)
- test_existing_ids_kept_fresh_is_max_plus_one · method · L80-L84 — def test_existing_ids_kept_fresh_is_max_plus_one(self)
- test_marker_directly_above_block_no_blank_line · method · L86-L88 — def test_marker_directly_above_block_no_blank_line(self)
- test_crlf_draft_gets_crlf_marker_lines · method · L90-L95 — def test_crlf_draft_gets_crlf_marker_lines(self)
- test_frontmatter_never_labeled · method · L97-L101 — def test_frontmatter_never_labeled(self)
- TestAnchorizeFile · class · L104-L148 — class TestAnchorizeFile(unittest.TestCase)
- _run · method · L105-L111 — def _run(self, content: str) -> tuple[Path, Path, dict]
- test_second_run_byte_identical_and_unchanged · method · L113-L119 — def test_second_run_byte_identical_and_unchanged(self)
- test_manifest_validates_against_schema · method · L121-L124 — def test_manifest_validates_against_schema(self)
- test_manifest_agreement_with_independent_recomputation · method · L126-L135 — def test_manifest_agreement_with_independent_recomputation(self)
- test_excerpt_truncated_to_80 · method · L137-L143 — def test_excerpt_truncated_to_80(self)
- test_summary_counts · method · L145-L148 — def test_summary_counts(self)
- TestCli · class · L151-L174 — class TestCli(unittest.TestCase)
- test_rejection_exits_2 · method · L152-L158 — def test_rejection_exits_2(self)
- test_ok_exits_0_writes_manifest · method · L160-L166 — def test_ok_exits_0_writes_manifest(self)
- test_manifest_out_override · method · L168-L174 — def test_manifest_out_override(self)