aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/api_entity_state.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-23 15:28:40 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-23 15:28:42 -0700
commit5c39fa4b9a2c43d94d1eef68ac24f1d0099d219a (patch)
treecb656ea83ef3fe9e7589ca8ccf716aa83ef06593 /python/tests/api_entity_state.py
parent6a87b3d2e1b315d35ccaa13457571d73afaf5e6b (diff)
downloadfatcat-5c39fa4b9a2c43d94d1eef68ac24f1d0099d219a.tar.gz
fatcat-5c39fa4b9a2c43d94d1eef68ac24f1d0099d219a.zip
simple lint (flake8) fixes in tests
The pytest fixture syntax interacts weirdly with flake8 tests, so ignore the "redefinition" and "unused variable" errors more carefully for .py files under ./tests/
Diffstat (limited to 'python/tests/api_entity_state.py')
-rw-r--r--python/tests/api_entity_state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/api_entity_state.py b/python/tests/api_entity_state.py
index d5ba6301..4b49083e 100644
--- a/python/tests/api_entity_state.py
+++ b/python/tests/api_entity_state.py
@@ -359,7 +359,7 @@ def test_self_redirect(api):
c1_redirect = CreatorEntity(redirect=c1.ident)
eg = quick_eg(api)
with pytest.raises(fatcat_openapi_client.rest.ApiException):
- merge_edit = api.update_creator(eg.editgroup_id, c1.ident, c1_redirect)
+ api.update_creator(eg.editgroup_id, c1.ident, c1_redirect)
def test_wip_redirect(api):