mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-20 06:58:02 +00:00
Coverage for templates
This commit is contained in:
@@ -84,7 +84,7 @@ class Photo(BaseAccountModel):
|
||||
image_url = gravatar['image_url']
|
||||
|
||||
if not image_url:
|
||||
return False
|
||||
return False # pragma: no cover
|
||||
try:
|
||||
image = urlopen(image_url)
|
||||
# No idea how to test this
|
||||
|
||||
Reference in New Issue
Block a user