Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Nov 24, 2024
1 parent fba3b0a commit 41589c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/tests/test_views_shortcuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def it_handles_encoded_newlines(expect, client):
def describe_path_redirects():
def it_redirects_to_example_image_when_no_extension(expect, client):
request, response = client.get("/images/fry", allow_redirects=False)
redirect = "/images/fry/not_sure_if_trolling/or_just_stupid.gif"
redirect = "/images/fry/not_sure_if_trolling/or_just_stupid.webp"
expect(response.status) == 302
expect(response.headers["Location"]) == redirect

Expand Down

0 comments on commit 41589c8

Please sign in to comment.