summaryrefslogtreecommitdiffstats
path: root/python/tests/api_containers.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/api_containers.py')
-rw-r--r--python/tests/api_containers.py4
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"