From 4461380eb79e6854352174769abde946c49c6138 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 9 Jan 2019 13:21:26 -0800 Subject: python: test fixes for required editgroup_id --- python/tests/api_entity_editing.py | 6 +++--- python/tests/api_entity_state.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'python') 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) -- cgit v1.2.3