Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zipperman1 committed Nov 18, 2024
1 parent f123a3c commit eb3df2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_routes/test_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def test_comments_by_lecturer_id(client, lecturers_with_comments, lecturer_n, re
]
)


@pytest.mark.parametrize(
'user_id,response_status', [(0, status.HTTP_200_OK), (1, status.HTTP_200_OK), (2, status.HTTP_200_OK)]
)
Expand All @@ -116,10 +117,13 @@ def test_comments_by_user_id(client, lecturers_with_comments, user_id, response_
[
comment
for comment in comments
if comment.user_id == user_id and comment.review_status == ReviewStatus.APPROVED and not comment.is_deleted
if comment.user_id == user_id
and comment.review_status == ReviewStatus.APPROVED
and not comment.is_deleted
]
)


@pytest.mark.parametrize(
'review_status, response_status,is_reviewed',
[
Expand Down

0 comments on commit eb3df2d

Please sign in to comment.