

def test_gen_check_validation_wrong_key(self):
    key2 = jose.JWKRSA.load(test_util.load_vector('rsa1024_key.pem'))
    self.assertFalse(self.msg.check_validation(self.msg.gen_validation(KEY), key2.public_key()))

dataset/ETHPy150Open letsencrypt/letsencrypt/acme/acme/challenges_test.py DNSTest.test_gen_check_validation_wrong_key/original