aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/fixtures.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/tests/fixtures.py b/python/tests/fixtures.py
index d3d8c24b..364c8be7 100644
--- a/python/tests/fixtures.py
+++ b/python/tests/fixtures.py
@@ -61,7 +61,7 @@ def enrichen_test_app(app):
name="schmournal",
publisher="society of authors",
issn="2222-3333",
- editgroup=editgroup_id,
+ editgroup_id=editgroup_id,
extra=dict(a=2, i="zing"))),
headers={"content-type": "application/json"})
assert rv.status_code == 200
@@ -72,7 +72,7 @@ def enrichen_test_app(app):
data=json.dumps(dict(
name="anon y. mouse",
orcid="0000-0002-1825-0097",
- editgroup=editgroup_id,
+ editgroup_id=editgroup_id,
extra=dict(w=1, q="zing"))),
headers={"content-type": "application/json"})
assert rv.status_code == 200
@@ -83,7 +83,7 @@ def enrichen_test_app(app):
data=json.dumps(dict(
title="dummy work",
work_type="book",
- editgroup=editgroup_id,
+ editgroup_id=editgroup_id,
extra=dict(a=3, b="zing"))),
headers={"content-type": "application/json"})
assert rv.status_code == 200
@@ -98,7 +98,7 @@ def enrichen_test_app(app):
work=work_id,
creators=[creator_id],
doi="10.1234/58",
- editgroup=editgroup_id,
+ editgroup_id=editgroup_id,
refs=[
dict(stub="some other journal article"),
],
@@ -116,7 +116,7 @@ def enrichen_test_app(app):
container=container_id,
creators=[creator_id],
doi="10.1234/5678",
- editgroup=editgroup_id,
+ editgroup_id=editgroup_id,
refs=[
dict(stub="some book", target=stub_release_id),
],
@@ -131,7 +131,7 @@ def enrichen_test_app(app):
sha1="deadbeefdeadbeef",
size=1234,
releases=[release_id],
- editgroup=editgroup_id,
+ editgroup_id=editgroup_id,
extra=dict(f=4, b="zing"))),
headers={"content-type": "application/json"})
assert rv.status_code == 200