🚨(backend) fix lint on test file
Signed-off-by: Paul Vernin <paul.vernin@gmail.com>
This commit is contained in:
committed by
Manuel Raynaud
parent
2e4a1b8ff9
commit
ff995c6cd9
@@ -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)
|
||||
assert content[1]["id"] == str(child2.id)
|
||||
|
||||
Reference in New Issue
Block a user