aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/api_releases.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_releases.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_releases.py')
-rw-r--r--python/tests/api_releases.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/api_releases.py b/python/tests/api_releases.py
index c4c05ea6..9c70f655 100644
--- a/python/tests/api_releases.py
+++ b/python/tests/api_releases.py
@@ -177,7 +177,7 @@ def test_empty_fields(api):
title="something",
contribs=[ReleaseContrib(raw_name="somebody")],
ext_ids=ReleaseExtIds())
- r1edit = api.create_release(eg.editgroup_id, r1)
+ api.create_release(eg.editgroup_id, r1)
with pytest.raises(fatcat_openapi_client.rest.ApiException):
r2 = ReleaseEntity(title="", ext_ids=ReleaseExtIds())