Skip to content

Commit

Permalink
Add coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
kbecker42 committed Oct 2, 2024
1 parent f3b7895 commit eba48f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybossa/cache/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_user_summary(name, current_user=None):
return None
else:
return user
else: # pragma: no cover
else:
current_app.logger.info("Method get_user_summary(): user is None for user name %s, current user id %s, current user name %s",
name, current_user.id if current_user else None, current_user.name if current_user else None)
return None
Expand Down

0 comments on commit eba48f9

Please sign in to comment.