← Về thư mục
scripts/adapters/tests/test_literature_corpus_entry_schema.py
- _load_schema · function · L12-L14 — def _load_schema()
- _validator · function · L17-L22 — def _validator(schema)
- test_schema_file_exists · function · L25-L26 — def test_schema_file_exists()
- test_schema_is_valid_draft_2020_12 · function · L29-L31 — def test_schema_is_valid_draft_2020_12()
- test_required_set_matches_spec · function · L34-L42 — def test_required_set_matches_spec()
- test_additional_properties_is_false · function · L45-L47 — def test_additional_properties_is_false()
- test_valid_personal_author_entry_passes · function · L50-L59 — def test_valid_personal_author_entry_passes()
- test_valid_institution_author_entry_passes · function · L62-L71 — def test_valid_institution_author_entry_passes()
- test_missing_required_field_fails · function · L74-L85 — def test_missing_required_field_fails()
- test_author_must_be_either_personal_or_literal · function · L88-L99 — def test_author_must_be_either_personal_or_literal()
- test_year_out_of_range_fails · function · L102-L113 — def test_year_out_of_range_fails()
- test_citation_key_pattern_rejects_leading_digit · function · L116-L127 — def test_citation_key_pattern_rejects_leading_digit()
- test_additional_property_fails · function · L130-L142 — def test_additional_property_fails()
- test_obtained_via_enum_constrained · function · L145-L157 — def test_obtained_via_enum_constrained()
- test_obtained_via_other_without_adapter_name_fails · function · L160-L175 — def test_obtained_via_other_without_adapter_name_fails()
- test_obtained_via_other_with_adapter_name_passes · function · L178-L189 — def test_obtained_via_other_with_adapter_name_passes()
- test_obtained_via_known_value_does_not_require_adapter_name · function · L192-L205 — def test_obtained_via_known_value_does_not_require_adapter_name()
- test_invalid_obtained_at_format_fails · function · L208-L222 — def test_invalid_obtained_at_format_fails()
- test_valid_obtained_at_format_passes · function · L225-L235 — def test_valid_obtained_at_format_passes()
- test_valid_arxiv_id_passes · function · L238-L248 — def test_valid_arxiv_id_passes()
- test_valid_legacy_arxiv_id_passes · function · L251-L261 — def test_valid_legacy_arxiv_id_passes()
- test_invalid_arxiv_id_rejected · function · L264-L276 — def test_invalid_arxiv_id_rejected()
- test_valid_legacy_arxiv_id_with_version_passes · function · L279-L289 — def test_valid_legacy_arxiv_id_with_version_passes()
- test_valid_legacy_arxiv_id_with_subject_class_passes · function · L292-L302 — def test_valid_legacy_arxiv_id_with_subject_class_passes()
- test_valid_short_new_style_arxiv_id_passes · function · L305-L315 — def test_valid_short_new_style_arxiv_id_passes()
- test_arxiv_id_is_optional · function · L318-L327 — def test_arxiv_id_is_optional()
- _base_entry · function · L333-L340 — def _base_entry()
- test_contamination_signals_absent_is_valid · function · L343-L346 — def test_contamination_signals_absent_is_valid()
- test_contamination_signals_empty_object_is_valid · function · L349-L353 — def test_contamination_signals_empty_object_is_valid()
- test_contamination_signals_both_false_is_valid · function · L356-L365 — def test_contamination_signals_both_false_is_valid()
- test_contamination_signals_both_true_is_valid · function · L368-L377 — def test_contamination_signals_both_true_is_valid()
- test_contamination_signals_unknown_subfield_rejected · function · L380-L388 — def test_contamination_signals_unknown_subfield_rejected()
- test_contamination_signals_non_boolean_rejected · function · L391-L399 — def test_contamination_signals_non_boolean_rejected()
- test_preprint_flag_true_with_year_before_2024_rejected · function · L404-L414 — def test_preprint_flag_true_with_year_before_2024_rejected()
- test_preprint_flag_true_with_year_2024_passes · function · L417-L424 — def test_preprint_flag_true_with_year_2024_passes()
- test_preprint_flag_false_with_pre_2024_year_passes · function · L427-L436 — def test_preprint_flag_false_with_pre_2024_year_passes()
- test_preprint_flag_absent_with_pre_2024_year_passes · function · L439-L444 — def test_preprint_flag_absent_with_pre_2024_year_passes()
- test_manual_entry_with_ss_unmatched_field_rejected · function · L449-L461 — def test_manual_entry_with_ss_unmatched_field_rejected()
- test_manual_entry_with_ss_unmatched_false_also_rejected · function · L464-L476 — def test_manual_entry_with_ss_unmatched_false_also_rejected()
- test_manual_entry_with_only_preprint_flag_passes · function · L479-L491 — def test_manual_entry_with_only_preprint_flag_passes()
- test_non_manual_entry_with_ss_unmatched_passes · function · L494-L503 — def test_non_manual_entry_with_ss_unmatched_passes()
- test_contamination_signals_backfilled_at_valid_iso8601_passes · function · L509-L519 — def test_contamination_signals_backfilled_at_valid_iso8601_passes()
- test_contamination_signals_backfilled_at_absent_passes · function · L522-L532 — def test_contamination_signals_backfilled_at_absent_passes()
- test_contamination_signals_backfilled_at_non_string_rejected · function · L535-L543 — def test_contamination_signals_backfilled_at_non_string_rejected()
- test_v3_9_0_openalex_unmatched_field_accepted · function · L549-L558 — def test_v3_9_0_openalex_unmatched_field_accepted()
- test_v3_9_0_crossref_unmatched_field_accepted · function · L561-L570 — def test_v3_9_0_crossref_unmatched_field_accepted()
- test_v3_9_0_all_four_contamination_fields_accepted · function · L573-L586 — def test_v3_9_0_all_four_contamination_fields_accepted()
- test_v3_9_0_manual_entry_with_openalex_unmatched_rejected · function · L589-L598 — def test_v3_9_0_manual_entry_with_openalex_unmatched_rejected()
- test_v3_9_0_manual_entry_with_crossref_unmatched_rejected · function · L601-L610 — def test_v3_9_0_manual_entry_with_crossref_unmatched_rejected()
- test_v3_9_0_manual_entry_with_preprint_flag_passes · function · L613-L623 — def test_v3_9_0_manual_entry_with_preprint_flag_passes()