

def test_verify_ok(self):
    from acme.challenges import KeyAuthorizationChallengeResponse
    response = KeyAuthorizationChallengeResponse(key_authorization='foo.oKGqedy-b-acd5eoybm2f-NVFxvyOoET5CNy3xnv8WY')
    self.assertTrue(response.verify(self.chall, KEY.public_key()))

dataset/ETHPy150Open letsencrypt/letsencrypt/acme/acme/challenges_test.py KeyAuthorizationChallengeResponseTest.test_verify_ok/original