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_containers.py | |
parent | 1e0e890284978dc7379db707ed1fa2c902e297c6 (diff) | |
download | fatcat-7c18e1d22b16bb920c9bb9a788691820bbdb2bfa.tar.gz fatcat-7c18e1d22b16bb920c9bb9a788691820bbdb2bfa.zip |
python impl
Diffstat (limited to 'python/tests/api_containers.py')
-rw-r--r-- | python/tests/api_containers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/api_containers.py b/python/tests/api_containers.py index 47825ed5..435c76af 100644 --- a/python/tests/api_containers.py +++ b/python/tests/api_containers.py @@ -21,7 +21,7 @@ def test_container(api): extra=dict(a=1, b=2), ) - c1edit = api.create_container(c1, editgroup_id=eg.editgroup_id) + c1edit = api.create_container(eg.editgroup_id, c1) api.accept_editgroup(eg.editgroup_id) c2 = api.get_container(c1edit.ident) @@ -44,7 +44,7 @@ def test_container(api): # delete eg = quick_eg(api) - api.delete_container(c2.ident, editgroup_id=eg.editgroup_id) + api.delete_container(eg.editgroup_id, c2.ident) api.accept_editgroup(eg.editgroup_id) c2 = api.get_container(c2.ident) assert c2.state == "deleted" |