Fix test defaulting to mm -> gravatar proxy

This commit is contained in:
Oliver Falk
2020-02-19 14:58:14 +01:00
parent 752d0dac56
commit 7544fc142a

View File

@@ -1228,7 +1228,7 @@ class Tester(TestCase): # pylint: disable=too-many-public-methods
response = self.client.get(url, follow=True) response = self.client.get(url, follow=True)
self.assertRedirects( self.assertRedirects(
response=response, response=response,
expected_url='/static/img/mm/80.png', expected_url='/gravatarproxy/1b1d0b654430c012e47e350db07c83c5?s=80&default=mm',
msg_prefix='Why does this not redirect to the gravatarproxy and defaulting to mm?') msg_prefix='Why does this not redirect to the gravatarproxy and defaulting to mm?')
# Eventually one should check if the data is the same # Eventually one should check if the data is the same