added missing docstring
This commit is contained in:
parent
7cad11981e
commit
b1897948b1
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user