aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix tests for page0_height/widthBryan Newbold2020-06-251-2/+2
|
* lint fixesBryan Newbold2020-06-171-1/+1
|
* rename pdf tools to pdfextractBryan Newbold2020-06-171-0/+0
|
* partial test coverage of pdf extract workerBryan Newbold2020-06-171-0/+61
|
* remove unused common.pyBryan Newbold2020-06-171-40/+0
|
* url cleaning (canonicalization) for ingest base_urlBryan Newbold2020-03-101-1/+7
| | | | | | | | | | | As mentioned in comment, this first version does not re-write the URL in the `base_url` field. If we did so, then ingest_request rows would not SQL JOIN to ingest_file_result rows, which we wouldn't want. In the future, behaviour should maybe be to refuse to process URLs that aren't clean (eg, if base_url != clean_url(base_url)) and return a 'bad-url' status or soemthing. Then we would only accept clean URLs in both tables, and clear out all old/bad URLs with a cleanup script.
* ingest: add URL blocklist featureBryan Newbold2020-01-171-0/+17
| | | | And, temporarily, block zenodo and figshare.
* clarify ingest result schema and semanticsBryan Newbold2020-01-152-3/+21
|
* add postgrest checks to test mocksBryan Newbold2020-01-141-1/+9
|
* tests: don't use localhost as a responses mock hostBryan Newbold2020-01-142-6/+6
|
* SPNv2 doesn't support FTP; add a live test for non-revist FTPBryan Newbold2020-01-141-0/+16
|
* more ftp status 226 supportBryan Newbold2020-01-143-3/+9
|
* add live tests for ftp, revisitsBryan Newbold2020-01-141-1/+36
|
* more live tests (for regressions)Bryan Newbold2020-01-101-0/+41
|
* refactor ingest to a loop, allowing multiple hopsBryan Newbold2020-01-091-2/+9
|
* add (skipped) live tests for wayback servicesBryan Newbold2020-01-091-0/+73
|
* add ingest test fileBryan Newbold2020-01-091-0/+120
| | | | Forgot to commit earlier!
* lots of progress on wayback refactoringBryan Newbold2020-01-091-1/+7
| | | | | | - too much to list - canonical flags to control crawling - cdx_to_dict helper
* location comes as a string, not listBryan Newbold2020-01-091-4/+4
|
* wrap up basic (locally testable) ingest refactorBryan Newbold2020-01-091-4/+48
|
* basic elife+plos extraction testsBryan Newbold2020-01-093-0/+4842
| | | | | Ripped out some HTML, but these could have been minimized even further to keep repository from growing large.
* fix grobid test (ISO-8859-1 encoding)Bryan Newbold2020-01-091-6/+4
| | | | Also changes for wayback refactor
* fix grobid tests for new wayback refactorsBryan Newbold2020-01-092-12/+14
|
* more wayback and SPN tests and fixesBryan Newbold2020-01-092-13/+67
|
* refactor CdxApiClient, add testsBryan Newbold2020-01-081-0/+110
| | | | | | - always use auth token and get full CDX rows - simplify to "fetch" (exact url/dt match) and "lookup_best" methods - all redirect stuff will be moved to a higher level
* refactor SavePaperNowClient and add testBryan Newbold2020-01-071-0/+160
| | | | | | - response as a namedtuple - "remote" errors (aka, SPN API was HTTP 200 but returned error) aren't an exception
* teixml2json test update for skipping null JSON keysBryan Newbold2020-01-021-10/+1
|
* grobid2json: language_codeBryan Newbold2019-10-041-1/+2
|
* python tests for pusher classesBryan Newbold2019-10-022-0/+28
|
* add tests for affiliation extractionBryan Newbold2019-10-022-1/+25
|
* lots of grobid tool implementation (still WIP)Bryan Newbold2019-09-262-7/+29
|
* test of GROBID clientBryan Newbold2019-09-251-0/+53
|
* refactor old python hadoop code into new directoryBryan Newbold2019-09-254-591/+0
|
* re-write parse_cdx_line for sandcrawler libBryan Newbold2019-09-251-1/+31
|
* fix test grobid2json testBryan Newbold2019-09-251-1/+4
| | | | For new extra fields
* start refactoring sandcrawler python common codeBryan Newbold2019-09-232-0/+41
|
* update grobid2json to include given_name/surnameBryan Newbold2019-05-131-3/+3
|
* python test fixesBryan Newbold2019-02-211-1/+1
|
* fix ungrobid extraction testsBryan Newbold2018-11-221-2/+4
|
* longtail grobid metadata parse/filter WIPBryan Newbold2018-09-221-0/+5
|
* WIP: ungrobided doesn't inherit (copypasta)Bryan Newbold2018-08-251-4/+4
|
* ungrobided: example real outputBryan Newbold2018-08-251-0/+20
|
* ungrobided: add real results to testsBryan Newbold2018-08-251-1/+51
|
* python extraction_ungrobided jobBryan Newbold2018-08-241-0/+126
|
* rename ./mapreduce to ./pythonBryan Newbold2018-08-248-0/+2632