def test_check_validation_wrong_fields(self):
        bad_validation = jose.JWS.sign(
            payload=self.msg.update(
                token=b'x' * 20).json_dumps().encode('utf-8'),
            alg=jose.RS256, key=KEY)
        self.assertFalse(self.msg.check_validation(
            bad_validation, KEY.public_key()))
dataset/ETHPy150Open letsencrypt/letsencrypt/acme/acme/challenges_test.py/DNSTest.test_check_validation_wrong_fields/original