

@mock.patch('acme.challenges.TLSSNI01Response.probe_cert')
def test_simple_verify_false_on_probe_error(self, mock_probe_cert):
    mock_probe_cert.side_effect = errors.Error
    self.assertFalse(self.response.simple_verify(self.chall, self.domain, KEY.public_key()))

dataset/ETHPy150Open letsencrypt/letsencrypt/acme/acme/challenges_test.py TLSSNI01ResponseTest.test_simple_verify_false_on_probe_error/original