← Về thư mục
scripts/adapters/tests/test_check_literature_corpus_schema.py
- _write_yaml · function · L13-L17 — def _write_yaml(tmp_path, name, data)
- _run · function · L20-L26 — def _run(args, cwd=None)
- test_script_exists · function · L29-L30 — def test_script_exists()
- test_passes_on_valid_passport · function · L33-L47 — def test_passes_on_valid_passport(tmp_path)
- test_fails_on_schema_violation · function · L50-L65 — def test_fails_on_schema_violation(tmp_path)
- test_fails_on_duplicate_citation_key · function · L68-L90 — def test_fails_on_duplicate_citation_key(tmp_path)
- test_passes_on_valid_rejection_log · function · L93-L102 — def test_passes_on_valid_rejection_log(tmp_path)
- test_default_mode_scans_repo_examples · function · L105-L111 — def test_default_mode_scans_repo_examples()
- test_passport_with_invalid_obtained_at_format_fails · function · L117-L136 — def test_passport_with_invalid_obtained_at_format_fails(tmp_path)
- test_rejection_log_with_invalid_generated_at_format_fails · function · L139-L152 — def test_rejection_log_with_invalid_generated_at_format_fails(tmp_path)
- test_help_flag_runs_clean · function · L157-L160 — def test_help_flag_runs_clean()
- test_passport_other_obtained_via_without_adapter_name_fails · function · L163-L181 — def test_passport_other_obtained_via_without_adapter_name_fails(tmp_path)
- test_rejection_log_other_reason_with_empty_detail_fails · function · L184-L194 — def test_rejection_log_other_reason_with_empty_detail_fails(tmp_path)
- test_passport_missing_literature_corpus_key_fails · function · L199-L207 — def test_passport_missing_literature_corpus_key_fails(tmp_path)
- test_passport_empty_dict_fails · function · L210-L215 — def test_passport_empty_dict_fails(tmp_path)
- test_passport_top_level_list_fails_cleanly · function · L218-L228 — def test_passport_top_level_list_fails_cleanly(tmp_path)
- test_passport_malformed_yaml_fails_cleanly · function · L231-L238 — def test_passport_malformed_yaml_fails_cleanly(tmp_path)
- test_rejection_log_top_level_list_fails_cleanly · function · L241-L247 — def test_rejection_log_top_level_list_fails_cleanly(tmp_path)
- test_rejection_log_malformed_yaml_fails_cleanly · function · L250-L255 — def test_rejection_log_malformed_yaml_fails_cleanly(tmp_path)
- test_default_mode_catches_bad_examples_fixture · function · L258-L283 — def test_default_mode_catches_bad_examples_fixture(tmp_path)
- test_v3_9_0_passes_on_non_manual_with_openalex_and_crossref · function · L288-L310 — def test_v3_9_0_passes_on_non_manual_with_openalex_and_crossref(tmp_path)
- test_v3_9_0_rejects_manual_entry_with_openalex_unmatched · function · L313-L335 — def test_v3_9_0_rejects_manual_entry_with_openalex_unmatched(tmp_path)
- _laundering_entry · function · L338-L349 — def _laundering_entry(venue_type_source)
- test_v3_10_rejects_laundered_venue_type_source · function · L352-L365 — def test_v3_10_rejects_laundered_venue_type_source(tmp_path)
- test_v3_10_accepts_legitimate_declared_venue_type_source · function · L368-L378 — def test_v3_10_accepts_legitimate_declared_venue_type_source(tmp_path)
- test_v3_10_non_string_venue_type_source_reports_schema_error_not_crash · function · L381-L396 — def test_v3_10_non_string_venue_type_source_reports_schema_error_not_crash(tmp_path)