aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/files
Commit message (Collapse)AuthorAgeFilesLines
* update datacite tests for license slug changesBryan Newbold2021-11-101-2/+1
| | | | | Use datacite-specific wrapper function, and remove a couple non-OA/TDM-limited licenses.
* generic fileset importer class, with test coverageBryan Newbold2021-10-141-0/+1
|
* datacite: skip empty abstractsMartin Czygan2021-10-012-0/+90
| | | | | Do not add abstracts where `clean` results in the empty string - this violates a constraint: `either abstract_sha1 or content is required`
* refs: web UI tweaks for iterated CSL schemaBryan Newbold2021-08-031-3/+7
|
* refs: start the most basic/minimal web refs test coverage ('integration' level)Bryan Newbold2021-07-273-0/+1040
|
* datacite: more careful title string access; fixes sentry #88350Martin Czygan2021-06-112-0/+95
| | | | | Caused by a partial "title entry without title" coming *first* (e.g. just holding, e.g. a language, like: {'lang': 'da'}
* fix arabesque sqlite3 examples to have 14-digit timestampsBryan Newbold2021-05-211-0/+0
|
* transform tool: container transform stats lookup supportBryan Newbold2021-04-061-0/+1
|
* datacite: a missing surname should be None, not the empty stringMartin Czygan2021-04-022-2/+0
| | | | refs sentry #77700
* very simple dblp container importerBryan Newbold2020-12-173-0/+21
|
* basic test coverage of dblp release importerBryan Newbold2020-12-173-0/+431
|
* improve release elasticsearch transform test coverageBryan Newbold2020-12-162-0/+2
|
* doaj: fix update code path (getattr not __dict__)Bryan Newbold2020-11-201-1/+1
| | | | Also add missing code coverage for update path (disabled by default).
* initial implementation of DOAJ importerBryan Newbold2020-11-191-0/+5
| | | | Several things to finish implementing and polish.
* ingest: fix XML ingest test fileBryan Newbold2020-11-051-1/+1
|
* ingest: progress on HTML ingestBryan Newbold2020-11-051-0/+1
|
* ingest: tests for basic XML ingestBryan Newbold2020-11-051-0/+1
|
* ingest: basic checks for ingest_typeBryan Newbold2020-11-051-1/+1
|
* datacite: handle case of empty-string versionBryan Newbold2020-09-101-1/+1
| | | | | Includes a tiny tweak to the datacite import sample file to test this code path.
* fixes and test coverage for file_meta importerBryan Newbold2020-08-211-0/+7
|
* datacite importer: update test cases for 'Additional file' as component, not ↵Bryan Newbold2020-08-115-5/+5
| | | | stub
* datacite import: figshare-specific hacksBryan Newbold2020-08-111-0/+1
|
* datacite: adjust testsMartin Czygan2020-07-104-10/+6
|
* wip: contrib, GH59Martin Czygan2020-07-105-3/+105
|
* datacite: address duplicated contributor issueMartin Czygan2020-07-074-10/+93
| | | | | | | Use string comparison. * https://fatcat.wiki/release/spjysmrnsrgyzgq6ise5o44rlu/contribs * https://api.datacite.org/dois/10.25940/roper-31098406
* regression test for release_stage mismatch with ingest requestBryan Newbold2020-05-261-1/+2
|
* datacite: fix type errorMartin Czygan2020-04-222-0/+76
| | | | | | | Up to now, we expected the description to be a string or list. Add handling for int as well. First appeared: Apr 22 19:58:39.
* datacite: fix a raw name constraint violationMartin Czygan2020-04-202-0/+77
| | | | | | | It was possible that contribs got added which had no raw name. One example would be a name consisting of whitespace only. This fix adds a final check for this case.
* pubmed: handle multiple ReferenceListBryan Newbold2020-03-201-0/+206
| | | | | | | This resolves a situation noticed in prod where we were only importing/updating a single reference per article. Includes a regression test.
* Merge branch 'martin-kafka-bs4-import' into 'master'Martin Czygan2020-03-102-0/+0
|\ | | | | | | | | pubmed and arxiv harvest preparations See merge request webgroup/fatcat!28
| * more pubmed adjustmentsMartin Czygan2020-02-222-0/+0
| | | | | | | | | | * regenerate map in continuous mode * add tests
* | Merge branch 'bnewbold-elastic-v03b'Bryan Newbold2020-02-263-0/+3
|\ \
| * | fix some transform bugs, add some testsBryan Newbold2020-01-293-0/+3
| | |
* | | shadow import: more filtering of file_meta fieldsBryan Newbold2020-02-131-12/+10
| | |
* | | basic shadow importerBryan Newbold2020-02-131-0/+12
| |/ |/|
* | datacite: add exception for https://www.micropublication.org/Martin Czygan2020-01-311-1/+2
| |
* | datacite: improve date handling and minor tweakMartin Czygan2020-01-302-0/+110
|/ | | | | | | | | | | | | Records from https://www.micropublication.org/ did not have a date in FC, although raw data contained date strings - they were not using the finer-grained "attributes.date" but "attributes.published" and/or "attributes.publicationYear". Support for those fields has been added, including a test case. During this test (#30) a processing gap for names became clear (author may have "given_name" and "surname", but no "name"). This bug has been fixed, too.
* do not normalize "en dash" in DOIMartin Czygan2020-01-171-1/+1
| | | | | | | | | Technically, [...] DOI names may incorporate any printable characters from the Universal Character Set (UCS-2), of ISO/IEC 10646, which is the character set defined by Unicode (https://www.doi.org/doi_handbook/2_Numbering.html#2.5.1). For mostly QA reasons, we currently treat a DOI with an "en dash" as invalid.
* ingest: improve tests, support old ingest resultsBryan Newbold2020-01-152-1/+2
|
* datacite: ignore known unknown values in resourceType*Martin Czygan2020-01-092-0/+94
|
* datacite: abstracts may be strings or list of stringsMartin Czygan2020-01-094-0/+186
|
* datacite: improve license_slug handlingMartin Czygan2020-01-092-1/+3
|
* datacite: add 'Unknown' to blacklistMartin Czygan2020-01-091-7/+1
|
* datacite: get rid of schemaVersionMartin Czygan2020-01-0917-32/+14
|
* datacite: reformat test cases and use jq . --sort-keysMartin Czygan2020-01-0854-2299/+2301
|
* datacite: factor out contributor handlingMartin Czygan2020-01-084-0/+105
| | | | | | | Use values from: * attributes.creators[] * attributes.contributors[]
* datacite: adjust tests for release_monthMartin Czygan2020-01-0812-12/+12
|
* datacite: mark additional files as stubMartin Czygan2020-01-082-0/+72
|
* datacite: CCDC are entries, mostlyMartin Czygan2020-01-081-1/+1
|
* datacite: adding datacite-specific extra metadataMartin Czygan2020-01-0730-1468/+1570
| | | | | | | | | | | | | * attributes.metadataVersion * attributes.schemaVersion * attributes.version (source dependent values, follows suggestions in https://schema.datacite.org/meta/kernel-4.3/doc/DataCite-MetadataKernel_v4.3.pdf#page=26, but values vary) Furthermore: * attributes.types.resourceTypeGeneral * attributes.types.resourceType