Commit 1bd51a78 authored by Michal Čihař's avatar Michal Čihař

Adjust test to anonymous user mail

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 83d7cfda
...@@ -84,7 +84,10 @@ class AvatarTest(ViewTestCase): ...@@ -84,7 +84,10 @@ class AvatarTest(ViewTestCase):
kwargs={'user': anonymous.username, 'size': 32} kwargs={'user': anonymous.username, 'size': 32}
) )
) )
self.assertPNG(response) self.assertRedirects(
response, '/static/weblate-32.png',
fetch_redirect_response=False
)
def test_fallback_avatar(self): def test_fallback_avatar(self):
self.assertPNGData( self.assertPNGData(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment