Skip to content

Commit

Permalink
add comment to explain status code
Browse files Browse the repository at this point in the history
  • Loading branch information
NC-jsAhonen committed Feb 6, 2025
1 parent ea0ae37 commit a2643e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ def test_attachment_delete_public(
file_path = attachment.attachment.path
assert os.path.isfile(file_path) is True
response = admin_client.delete(url)
assert response.status_code == 405
assert response.status_code == 405 # Method not allowed


@pytest.mark.django_db
Expand Down

0 comments on commit a2643e3

Please sign in to comment.