Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Dec 20, 2024
1 parent c46bdab commit 9d73c3e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apptax/tests/test_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def test_get_tmedias(self):
(dict(w=100), 200),
(dict(h=100), 200),
(dict(w=100, h=100), 200),
(dict(w=100, h=-1), 403),
(dict(w="a", h="b"), 403),
(dict(h="b"), 403),
],
Expand All @@ -148,7 +149,8 @@ def test_get_thumbnail(self, media, get_params, expected_status_code):
id_media = media.id_media

response: Response = self.client.get(
url_for("t_media.getThumbnail_tmedias", id_media=id_media, **get_params),
url_for(
"t_media.getThumbnail_tmedias", id_media=id_media, **get_params, regenerate="true"
),
)
print(response.headers)
assert response.status_code == expected_status_code

0 comments on commit 9d73c3e

Please sign in to comment.