

@mock.patch('acme.challenges.TLSSNI01Response.verify_cert', autospec=True)
def test_simple_verify(self, mock_verify_cert):
    mock_verify_cert.return_value = mock.sentinel.verification
    self.assertEqual(mock.sentinel.verification, self.response.simple_verify(mock_verify_cert.chall, self.domain, KEY.public_key(), cert=mock.sentinel.cert))
    mock_verify_cert.assert_called_once_with(self.response, mock.sentinel.cert)

dataset/ETHPy150Open letsencrypt/letsencrypt/acme/acme/challenges_test.py TLSSNI01ResponseTest.test_simple_verify/VarMisuse@50/82 `self`->`mock_verify_cert`