aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/api_entity_editing.py6
-rw-r--r--python/tests/api_entity_state.py8
2 files changed, 7 insertions, 7 deletions
diff --git a/python/tests/api_entity_editing.py b/python/tests/api_entity_editing.py
index 377d47a8..bb45b280 100644
--- a/python/tests/api_entity_editing.py
+++ b/python/tests/api_entity_editing.py
@@ -36,7 +36,7 @@ def test_multiple_edits_same_group(api):
# cleanup
eg = quick_eg(api)
- api.delete_creator(c1.ident)
+ api.delete_creator(c1.ident, eg.editgroup_id)
api.accept_editgroup(eg.editgroup_id)
@@ -61,7 +61,7 @@ def test_edit_after_accept(api):
# cleanup
eg = quick_eg(api)
- api.delete_creator(c1.ident)
+ api.delete_creator(c1.ident, eg.editgroup_id)
api.accept_editgroup(eg.editgroup_id)
@@ -94,7 +94,7 @@ def test_edit_deletion(api):
# cleanup
eg = quick_eg(api)
- api.delete_creator(c1.ident)
+ api.delete_creator(c1.ident, eg.editgroup_id)
api.accept_editgroup(eg.editgroup_id)
diff --git a/python/tests/api_entity_state.py b/python/tests/api_entity_state.py
index 823084c5..83b07a2e 100644
--- a/python/tests/api_entity_state.py
+++ b/python/tests/api_entity_state.py
@@ -129,8 +129,8 @@ def test_redirect_entity(api):
# cleanup
eg = quick_eg(api)
- api.delete_creator(c1.ident)
- api.delete_creator(c2.ident)
+ api.delete_creator(c1.ident, eg.editgroup_id)
+ api.delete_creator(c2.ident, eg.editgroup_id)
api.accept_editgroup(eg.editgroup_id)
@@ -196,7 +196,7 @@ def test_delete_entity(api):
# cleanup
eg = quick_eg(api)
- api.delete_creator(c1.ident)
+ api.delete_creator(c1.ident, eg.editgroup_id)
api.accept_editgroup(eg.editgroup_id)
@@ -340,7 +340,7 @@ def test_recursive_redirects_entity(api):
# cleanup
eg = quick_eg(api)
- api.delete_creator(c1.ident)
+ api.delete_creator(c1.ident, eg.editgroup_id)
# c2 already deleted
# c3 already deleted
api.accept_editgroup(eg.editgroup_id)