summaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-09 13:21:26 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-09 13:21:26 -0800
commit4461380eb79e6854352174769abde946c49c6138 (patch)
tree8a2fa8ed73d0d1d2e0c2f2a8c57f1ebe46c7e4a0 /python/tests
parent17fe81ea8d58f93f129492dc44a38df9ab8d528e (diff)
downloadfatcat-4461380eb79e6854352174769abde946c49c6138.tar.gz
fatcat-4461380eb79e6854352174769abde946c49c6138.zip
python: test fixes for required editgroup_id
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)