← Về thư mục
scripts/test_check_v3_7_3_three_layer_citation.py
- write · function · L23-L26 — def write(tmp_path: Path, content: str) -> Path
- test_quote_anchor_passes · function · L31-L33 — def test_quote_anchor_passes(tmp_path: Path)
- test_page_anchor_passes · function · L36-L38 — def test_page_anchor_passes(tmp_path: Path)
- test_section_anchor_passes · function · L41-L43 — def test_section_anchor_passes(tmp_path: Path)
- test_paragraph_anchor_passes · function · L46-L48 — def test_paragraph_anchor_passes(tmp_path: Path)
- test_resolved_low_warn_marker_with_anchor_passes · function · L51-L57 — def test_resolved_low_warn_marker_with_anchor_passes(tmp_path: Path)
- test_resolved_ok_with_contamination_marker_passes · function · L60-L66 — def test_resolved_ok_with_contamination_marker_passes(tmp_path: Path)
- test_multiple_citations_all_anchored_pass · function · L69-L75 — def test_multiple_citations_all_anchored_pass(tmp_path: Path)
- test_quote_exactly_25_words_passes · function · L78-L84 — def test_quote_exactly_25_words_passes(tmp_path: Path)
- test_bare_ref_without_anchor_fails · function · L89-L95 — def test_bare_ref_without_anchor_fails(tmp_path: Path)
- test_orphan_anchor_without_ref_fails · function · L98-L103 — def test_orphan_anchor_without_ref_fails(tmp_path: Path)
- test_invalid_anchor_kind_fails · function · L106-L116 — def test_invalid_anchor_kind_fails(tmp_path: Path)
- test_quote_exceeding_25_words_fails · function · L119-L128 — def test_quote_exceeding_25_words_fails(tmp_path: Path)
- test_none_kind_anchor_passes_lint_but_gate_refuses · function · L131-L137 — def test_none_kind_anchor_passes_lint_but_gate_refuses(tmp_path: Path)
- test_missing_file_reports_violation · function · L140-L144 — def test_missing_file_reports_violation(tmp_path: Path)
- test_quote_with_raw_double_hyphen_fails · function · L149-L159 — def test_quote_with_raw_double_hyphen_fails(tmp_path: Path)
- test_quote_with_encoded_hyphen_passes · function · L162-L168 — def test_quote_with_encoded_hyphen_passes(tmp_path: Path)
- test_quote_with_single_raw_hyphen_passes · function · L171-L179 — def test_quote_with_single_raw_hyphen_passes(tmp_path: Path)
- test_ref_anchor_separated_by_single_space_passes · function · L184-L189 — def test_ref_anchor_separated_by_single_space_passes(tmp_path: Path)
- test_ref_anchor_separated_by_multiple_spaces_passes · function · L192-L197 — def test_ref_anchor_separated_by_multiple_spaces_passes(tmp_path: Path)
- test_ref_anchor_separated_by_newline_passes · function · L200-L206 — def test_ref_anchor_separated_by_newline_passes(tmp_path: Path)
- test_ref_anchor_separated_by_newline_and_tab_passes · function · L209-L215 — def test_ref_anchor_separated_by_newline_and_tab_passes(tmp_path: Path)
- test_ref_inside_fenced_code_block_is_ignored · function · L220-L232 — def test_ref_inside_fenced_code_block_is_ignored(tmp_path: Path)
- test_ref_outside_fence_still_lints · function · L235-L247 — def test_ref_outside_fence_still_lints(tmp_path: Path)
- test_tilde_fenced_code_block_also_ignored · function · L250-L259 — def test_tilde_fenced_code_block_also_ignored(tmp_path: Path)
- test_nested_html_comment_marker_in_quote_value_handled · function · L262-L273 — def test_nested_html_comment_marker_in_quote_value_handled(tmp_path: Path)
- test_contamination_2_token_suffix_with_valid_anchor_passes · function · L278-L286 — def test_contamination_2_token_suffix_with_valid_anchor_passes(tmp_path: Path)
- test_contamination_2_token_low_warn_combined_with_anchor_passes · function · L289-L294 — def test_contamination_2_token_low_warn_combined_with_anchor_passes(tmp_path: Path)
- test_contamination_2_token_ref_without_anchor_caught · function · L297-L307 — def test_contamination_2_token_ref_without_anchor_caught(tmp_path: Path)
- test_empty_page_anchor_fails · function · L312-L322 — def test_empty_page_anchor_fails(tmp_path: Path)
- test_empty_quote_anchor_fails · function · L325-L332 — def test_empty_quote_anchor_fails(tmp_path: Path)
- test_empty_section_anchor_fails · function · L335-L342 — def test_empty_section_anchor_fails(tmp_path: Path)
- test_whitespace_only_value_fails · function · L345-L353 — def test_whitespace_only_value_fails(tmp_path: Path)
- test_empty_none_anchor_still_passes_lint · function · L356-L364 — def test_empty_none_anchor_still_passes_lint(tmp_path: Path)
- test_quote_with_raw_arrow_close_caught · function · L369-L381 — def test_quote_with_raw_arrow_close_caught(tmp_path: Path)
- test_quote_followed_by_normal_ref_still_passes · function · L384-L392 — def test_quote_followed_by_normal_ref_still_passes(tmp_path: Path)
- test_quote_with_single_arrow_ambiguous_passes · function · L395-L409 — def test_quote_with_single_arrow_ambiguous_passes(tmp_path: Path)
- test_anchor_after_arbitrary_html_comment_caught · function · L414-L423 — def test_anchor_after_arbitrary_html_comment_caught(tmp_path: Path)
- test_anchor_after_3_token_malformed_ref_caught · function · L426-L437 — def test_anchor_after_3_token_malformed_ref_caught(tmp_path: Path)
- test_anchor_after_well_formed_ref_still_passes · function · L440-L448 — def test_anchor_after_well_formed_ref_still_passes(tmp_path: Path)
- test_malformed_ref_3_tokens_no_anchor_caught · function · L453-L463 — def test_malformed_ref_3_tokens_no_anchor_caught(tmp_path: Path)
- test_malformed_ref_with_invalid_slug_caught · function · L466-L475 — def test_malformed_ref_with_invalid_slug_caught(tmp_path: Path)
- test_malformed_ref_4_tokens_with_anchor_caught · function · L478-L490 — def test_malformed_ref_4_tokens_with_anchor_caught(tmp_path: Path)
- test_well_formed_ref_with_2_tokens_does_not_trigger_malformed · function · L493-L501 — def test_well_formed_ref_with_2_tokens_does_not_trigger_malformed(tmp_path: Path)
- test_quote_with_single_hyphen_explicitly_allowed · function · L506-L516 — def test_quote_with_single_hyphen_explicitly_allowed(tmp_path: Path)
- test_quote_with_triple_hyphen_must_encode_first_double · function · L519-L528 — def test_quote_with_triple_hyphen_must_encode_first_double(tmp_path: Path)
- test_url_encoded_whitespace_page_anchor_caught · function · L533-L544 — def test_url_encoded_whitespace_page_anchor_caught(tmp_path: Path)
- test_url_encoded_single_space_quote_anchor_caught · function · L547-L556 — def test_url_encoded_single_space_quote_anchor_caught(tmp_path: Path)
- test_url_encoded_real_content_passes · function · L559-L566 — def test_url_encoded_real_content_passes(tmp_path: Path)