Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianjoel committed May 21, 2024
1 parent 5cdf548 commit 8d3f2e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_get.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ def test_not_ok_from_presenter():

def test_redirect_if_not_logged_in():
response = get_mediafile(2, use_cookie=False)
assert response.status_code == 302
assert response.headers["Location"] == "/"
assert response.content == b"a2"
assert "text/plain" in response.headers.get("Content-Type")

0 comments on commit 8d3f2e8

Please sign in to comment.