aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-06-05 20:25:31 +0200
committerDaniel Schadt <kingdread@gmx.de>2023-06-05 20:25:31 +0200
commit6951ddaec6ff693849b58cbb2083d1ef989bd0d0 (patch)
tree166d94945e471497da1f52069de242ec6fa71c00
parentcee307028adc5348dfaecdf39b6e29d3ac77dab8 (diff)
downloadfietsboek-6951ddaec6ff693849b58cbb2083d1ef989bd0d0.tar.gz
fietsboek-6951ddaec6ff693849b58cbb2083d1ef989bd0d0.tar.bz2
fietsboek-6951ddaec6ff693849b58cbb2083d1ef989bd0d0.zip
fix lint
-rw-r--r--tests/integration/test_upload.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration/test_upload.py b/tests/integration/test_upload.py
index 8f59a8e..454785f 100644
--- a/tests/integration/test_upload.py
+++ b/tests/integration/test_upload.py
@@ -55,5 +55,8 @@ def test_upload_cancel(testapp, dbsession, route_path, logged_in):
assert "Upload cancelled" in result.text
# Step 4: Ensure the track is deleted again
+ # This is a workaround for
+ # https://github.com/pylint-dev/pylint/issues/8138, a false positive
+ # pylint: disable=not-callable
uploads = dbsession.execute(select(func.count()).select_from(models.Upload)).scalar()
assert uploads == 0