Updated coverage data and tweaked an OpenIDtest and scope description.

- Legacy-Id: 18485
This commit is contained in:
Henrik Levkowetz 2020-09-11 10:48:44 +00:00
parent e6f6f4697a
commit 2956d51ee9
3 changed files with 2 additions and 1 deletions

View file

@ -833,6 +833,7 @@ class OpenIDConnectTests(TestCase):
for key in [ 'email', 'family_name', 'given_name', 'meeting', 'name', 'roles',
'ticket_type', 'reg_type', 'affiliation', 'picture', ]:
self.assertIn(key, userinfo)
self.assertTrue(userinfo[key])
self.assertIn('remote', set(userinfo['reg_type'].split()))
self.assertNotIn('hackathon', set(userinfo['reg_type'].split()))

View file

@ -227,7 +227,7 @@ def openid_userinfo(claims, user):
oidc_provider.lib.claims.StandardScopeClaims.info_profile = (
'Basic profile',
'Access to your basic datatracker information: Name, photo.'
'Access to your basic datatracker information: Name and photo (if present).'
)
class OidcExtraScopeClaims(oidc_provider.lib.claims.ScopeClaims):

Binary file not shown.