aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-12-08 12:49:09 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-12-08 12:49:09 +0100
commit6526dd8c750c07d35e2f3c336a7171c9baf5a2ed (patch)
tree639debc09ea9457f17e4c3a1c1b17230ca1a8b92 /tests
parent2cc6dd9e1f6fbfab57e68895ca673aa0592c3f19 (diff)
downloadfuzzycat-6526dd8c750c07d35e2f3c336a7171c9baf5a2ed.tar.gz
fuzzycat-6526dd8c750c07d35e2f3c336a7171c9baf5a2ed.zip
add case
Diffstat (limited to 'tests')
-rw-r--r--tests/data/release/fo5dsqeocfekfhqdzgqyng3z6q100
-rw-r--r--tests/data/release/mz6a32xbp5f67i2cnbco2hmzj428
-rw-r--r--tests/data/verify.csv1
3 files changed, 129 insertions, 0 deletions
diff --git a/tests/data/release/fo5dsqeocfekfhqdzgqyng3z6q b/tests/data/release/fo5dsqeocfekfhqdzgqyng3z6q
new file mode 100644
index 0000000..329bd97
--- /dev/null
+++ b/tests/data/release/fo5dsqeocfekfhqdzgqyng3z6q
@@ -0,0 +1,100 @@
+{
+ "abstracts": [],
+ "container_id": "45htzocesfgzboeve2ffw2z7cy",
+ "contribs": [
+ {
+ "extra": {
+ "seq": "first"
+ },
+ "index": 0,
+ "raw_name": "Liza Shapiro",
+ "role": "author"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.1093/jmammal/gyv086"
+ },
+ "extra": {
+ "crossref": {
+ "alternative-id": [
+ "10.1093/jmammal/gyv086"
+ ],
+ "type": "journal-article"
+ }
+ },
+ "ident": "fo5dsqeocfekfhqdzgqyng3z6q",
+ "language": "en",
+ "pages": "1107-1108",
+ "publisher": "Oxford University Press (OUP)",
+ "refs": [
+ {
+ "container_name": "An introduction to human evolutionary anatomy",
+ "extra": {
+ "authors": [
+ "Aiello"
+ ],
+ "volume-title": "An introduction to human evolutionary anatomy"
+ },
+ "index": 0,
+ "key": "2015092913485026000_96.5.1107.1",
+ "year": 1990
+ },
+ {
+ "container_name": "Primate anatomy: an introduction",
+ "extra": {
+ "authors": [
+ "Ankel-Simons"
+ ],
+ "volume-title": "Primate anatomy: an introduction"
+ },
+ "index": 1,
+ "key": "2015092913485026000_96.5.1107.2",
+ "year": 2007
+ },
+ {
+ "container_name": "Primate adaptation and evolution",
+ "extra": {
+ "authors": [
+ "Fleagle"
+ ],
+ "volume-title": "Primate adaptation and evolution"
+ },
+ "index": 2,
+ "key": "2015092913485026000_96.5.1107.3",
+ "year": 2013
+ },
+ {
+ "container_name": "Postcranial adaptation in nonhuman primates",
+ "extra": {
+ "authors": [
+ "Gebo"
+ ],
+ "volume-title": "Postcranial adaptation in nonhuman primates"
+ },
+ "index": 3,
+ "key": "2015092913485026000_96.5.1107.4",
+ "year": 1993
+ },
+ {
+ "container_name": "A photographic atlas for physical anthropology",
+ "extra": {
+ "authors": [
+ "Whitehead"
+ ],
+ "volume-title": "A photographic atlas for physical anthropology"
+ },
+ "index": 4,
+ "key": "2015092913485026000_96.5.1107.5",
+ "year": 2005
+ }
+ ],
+ "release_date": "2015-06-05",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2015,
+ "revision": "9b58c702-a218-4322-9b15-f9ce40048a17",
+ "state": "active",
+ "title": "Primate comparative anatomy",
+ "volume": "96",
+ "work_id": "bfletbokjfbnxgxkibqqiquf7y"
+}
diff --git a/tests/data/release/mz6a32xbp5f67i2cnbco2hmzj4 b/tests/data/release/mz6a32xbp5f67i2cnbco2hmzj4
new file mode 100644
index 0000000..d0f0870
--- /dev/null
+++ b/tests/data/release/mz6a32xbp5f67i2cnbco2hmzj4
@@ -0,0 +1,28 @@
+{
+ "abstracts": [],
+ "container_id": "pjjljho22jhnrmpk3k2jxhxzv4",
+ "contribs": [],
+ "ext_ids": {
+ "doi": "10.5860/choice.188137"
+ },
+ "extra": {
+ "crossref": {
+ "type": "journal-article"
+ }
+ },
+ "ident": "mz6a32xbp5f67i2cnbco2hmzj4",
+ "issue": "10",
+ "language": "en",
+ "pages": "52-5341-52-5341",
+ "publisher": "American Library Association",
+ "refs": [],
+ "release_date": "2015-05-20",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2015,
+ "revision": "7844de52-2ed2-43dc-9df6-bd4679aa26f8",
+ "state": "active",
+ "title": "Primate comparative anatomy",
+ "volume": "52",
+ "work_id": "gg5v42joyfdv7a674pxrpskiim"
+}
diff --git a/tests/data/verify.csv b/tests/data/verify.csv
index e7ba52f..df60fd7 100644
--- a/tests/data/verify.csv
+++ b/tests/data/verify.csv
@@ -124,3 +124,4 @@ u4mjilmo75bcnjyms564l66jea,6ofr4mqnmrdy3nyyh5ufm5ats4,Status.AMBIGUOUS,
6ysfa7ncx5fldmvmwvjgpf2i6e,yp3rs3xb5ra2riyx5xayrlqfum,Status.EXACT,OK.WORK_ID
6ysfa7ncx5fldmvmwvjgpf2i6e,zphoquzqbfccjoqix3wkpyhrm4,Status.EXACT,OK.WORK_ID
yp3rs3xb5ra2riyx5xayrlqfum,zphoquzqbfccjoqix3wkpyhrm4,Status.EXACT,OK.WORK_ID
+mz6a32xbp5f67i2cnbco2hmzj4,fo5dsqeocfekfhqdzgqyng3z6q,Status.AMBIGUOUS,Miss.CUSTOM_PREFIX_10_5860_CHOICE_REVIEW