Projet

Général

Profil

0001-python3-encode-oidc-authn-test-claims-32452.patch

Paul Marillonnet, 18 avril 2019 14:50

Télécharger (819 octets)

Voir les différences:

Subject: [PATCH] python3: encode oidc authn test claims (#32452)

 tests/test_auth_oidc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/test_auth_oidc.py
475 475
        'iat': 1311280970,
476 476
        'exp': 1311281970, # Missing 'aud' and 'nonce' required claims
477 477
        'extra_stuff': 'hi there', # Wrong claim
478
    }))
478
    }).encode('ascii'))
479 479

  
480 480
    with pytest.raises(ValueError) as e:
481 481
        with utils.check_log(caplog, 'missing field'):
482
-