We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2ee579 commit ada4a36Copy full SHA for ada4a36
tests/movies/test_ids.py
@@ -5,3 +5,7 @@ def test_get_movie_info(mock_permissions, client):
5
assert resp.json()["foilHoleId"] == 1
6
assert resp.json()["gridSquareId"] == 1
7
8
+def test_inexistent(mock_permissions, client):
9
+ """Should raise exception if movie not in database"""
10
+ resp = client.get("/movies/9999")
11
+ assert resp.status_code == 404
0 commit comments