diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-23 15:28:40 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-23 15:28:42 -0700 |
commit | 5c39fa4b9a2c43d94d1eef68ac24f1d0099d219a (patch) | |
tree | cb656ea83ef3fe9e7589ca8ccf716aa83ef06593 /python/tests/import_ingest.py | |
parent | 6a87b3d2e1b315d35ccaa13457571d73afaf5e6b (diff) | |
download | fatcat-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/import_ingest.py')
-rw-r--r-- | python/tests/import_ingest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/import_ingest.py b/python/tests/import_ingest.py index ebe2923c..4a46232a 100644 --- a/python/tests/import_ingest.py +++ b/python/tests/import_ingest.py @@ -63,7 +63,7 @@ def test_ingest_importer_stage(ingest_importer, api): eg = quick_eg(api) r1 = api.lookup_release(doi="10.123/abc") r1.release_stage = row['release_stage'] - c1 = api.update_release(eg.editgroup_id, r1.ident, r1) + api.update_release(eg.editgroup_id, r1.ident, r1) api.accept_editgroup(eg.editgroup_id) # set ingest request stage |