diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-14 18:01:27 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-14 18:01:27 -0700 |
commit | 7c18e1d22b16bb920c9bb9a788691820bbdb2bfa (patch) | |
tree | 0e623bc4442f8a36267607a8f32106a3f241ee9c /python/tests/api_creators.py | |
parent | 1e0e890284978dc7379db707ed1fa2c902e297c6 (diff) | |
download | fatcat-7c18e1d22b16bb920c9bb9a788691820bbdb2bfa.tar.gz fatcat-7c18e1d22b16bb920c9bb9a788691820bbdb2bfa.zip |
python impl
Diffstat (limited to 'python/tests/api_creators.py')
-rw-r--r-- | python/tests/api_creators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/api_creators.py b/python/tests/api_creators.py index 91eedd24..b3e1194c 100644 --- a/python/tests/api_creators.py +++ b/python/tests/api_creators.py @@ -21,7 +21,7 @@ def test_creators(api): extra=dict(a=1, b=5), ) - c1edit = api.create_creator(c1, editgroup_id=eg.editgroup_id) + c1edit = api.create_creator(eg.editgroup_id, c1) api.accept_editgroup(eg.editgroup_id) c2 = api.get_creator(c1edit.ident) @@ -44,7 +44,7 @@ def test_creators(api): # delete eg = quick_eg(api) - api.delete_creator(c2.ident, editgroup_id=eg.editgroup_id) + api.delete_creator(eg.editgroup_id, c2.ident) api.accept_editgroup(eg.editgroup_id) c2 = api.get_creator(c2.ident) assert c2.state == "deleted" |