aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/test_upload.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/test_upload.py')
-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