← Về thư mục
scripts/adapters/tests/test_zotero.py
- _run · function · L13-L19 — def _run(*args)
- test_adapter_exists · function · L22-L23 — def test_adapter_exists()
- test_happy_path · function · L26-L32 — def test_happy_path(tmp_path, load_yaml, clean_timestamps)
- test_malformed_json_fails_loud · function · L35-L42 — def test_malformed_json_fails_loud(tmp_path)
- test_empty_array_emits_empty_passport · function · L45-L53 — def test_empty_array_emits_empty_passport(tmp_path, load_yaml)
- test_institution_author_preserved · function · L56-L74 — def test_institution_author_preserved(tmp_path, load_yaml)
- test_no_authors_rejected · function · L77-L98 — def test_no_authors_rejected(tmp_path, load_yaml)
- test_unparseable_date_rejected · function · L101-L119 — def test_unparseable_date_rejected(tmp_path, load_yaml)
- test_blank_corporate_author_rejected · function · L126-L149 — def test_blank_corporate_author_rejected(tmp_path, load_yaml)
- test_missing_title_rejected · function · L152-L174 — def test_missing_title_rejected(tmp_path, load_yaml)
- test_missing_citation_key_rejected · function · L177-L199 — def test_missing_citation_key_rejected(tmp_path, load_yaml)
- test_duplicate_citekey_disambiguated · function · L206-L239 — def test_duplicate_citekey_disambiguated(tmp_path, load_yaml)
- test_issued_fallback_no_date_field · function · L246-L267 — def test_issued_fallback_no_date_field(tmp_path, load_yaml)
- test_issued_as_string_fallback · function · L270-L291 — def test_issued_as_string_fallback(tmp_path, load_yaml)
- test_seasonal_date_rejected · function · L294-L316 — def test_seasonal_date_rejected(tmp_path, load_yaml)
- test_nd_date_rejected · function · L319-L341 — def test_nd_date_rejected(tmp_path, load_yaml)
- test_missing_source_pointer_rejected · function · L344-L366 — def test_missing_source_pointer_rejected(tmp_path, load_yaml)
- test_zotero_key_used_as_source_pointer · function · L369-L392 — def test_zotero_key_used_as_source_pointer(tmp_path, load_yaml)
- test_all_rejected_corpus · function · L399-L428 — def test_all_rejected_corpus(tmp_path, load_yaml)
- _import_zotero · function · L433-L438 — def _import_zotero()
- test_zotero_map_venue_type_known_types · function · L441-L446 — def test_zotero_map_venue_type_known_types()
- test_zotero_map_venue_type_unknown_and_absent · function · L449-L454 — def test_zotero_map_venue_type_unknown_and_absent()