Skip to content

Commit 2956d51

Browse files
committed
Updated coverage data and tweaked an OpenIDtest and scope description.
- Legacy-Id: 18485
1 parent e6f6f46 commit 2956d51

3 files changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/ietfauth/tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,7 @@ def test_oidc_code_auth(self):
833833
for key in [ 'email', 'family_name', 'given_name', 'meeting', 'name', 'roles',
834834
'ticket_type', 'reg_type', 'affiliation', 'picture', ]:
835835
self.assertIn(key, userinfo)
836+
self.assertTrue(userinfo[key])
836837
self.assertIn('remote', set(userinfo['reg_type'].split()))
837838
self.assertNotIn('hackathon', set(userinfo['reg_type'].split()))
838839

ietf/ietfauth/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def openid_userinfo(claims, user):
227227

228228
oidc_provider.lib.claims.StandardScopeClaims.info_profile = (
229229
'Basic profile',
230-
'Access to your basic datatracker information: Name, photo.'
230+
'Access to your basic datatracker information: Name and photo (if present).'
231231
)
232232

233233
class OidcExtraScopeClaims(oidc_provider.lib.claims.ScopeClaims):

release-coverage.json.gz

92.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)