added missing docstring

This commit is contained in:
eclipse 2025-07-26 18:39:53 +02:00
parent 7cad11981e
commit b1897948b1

View File

@ -23,6 +23,7 @@ class TestUnitGenreRead:
assert b'eGgS' in response.data
def test_get_request_with_query(self, client):
"""test GET request with query string"""
response = client.get("/genre", query_string={"id": 1, "form_genre": "spam"})
# assert good HTTP response
assert response.status_code == 200
@ -144,4 +145,3 @@ class TestUnitGenreDelete:
"""test a POST request"""
response = client.post("/genre/delete/1")
assert response.status_code == 405