From 6951ddaec6ff693849b58cbb2083d1ef989bd0d0 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 5 Jun 2023 20:25:31 +0200 Subject: fix lint --- tests/integration/test_upload.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3