From ff995c6cd98e01426e2fe448a56c5914310fa239 Mon Sep 17 00:00:00 2001 From: Paul Vernin Date: Tue, 24 Mar 2026 16:29:10 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8(backend)=20fix=20lint=20on=20test?= =?UTF-8?q?=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paul Vernin --- .../core/tests/documents/test_api_documents_favorite_list.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/core/tests/documents/test_api_documents_favorite_list.py b/src/backend/core/tests/documents/test_api_documents_favorite_list.py index 74b5d928..df10f310 100644 --- a/src/backend/core/tests/documents/test_api_documents_favorite_list.py +++ b/src/backend/core/tests/documents/test_api_documents_favorite_list.py @@ -115,6 +115,7 @@ def test_api_document_favorite_list_with_favorite_children(): assert content[1]["id"] == str(children[1].id) assert content[2]["id"] == str(access.document.id) + def test_api_document_favorite_list_with_deleted_child(): """ Authenticated users should not see deleted documents in their favorite list. @@ -138,4 +139,4 @@ def test_api_document_favorite_list_with_deleted_child(): content = response.json()["results"] assert content[0]["id"] == str(root.id) - assert content[1]["id"] == str(child2.id) \ No newline at end of file + assert content[1]["id"] == str(child2.id)