

@mock.patch('acme.challenges.requests.get')
def test_simple_verify_connection_error(self, mock_get):
    mock_get.side_effect = requests.exceptions.RequestException
    self.assertFalse(mock_get.response.simple_verify(self.chall, 'local', KEY.public_key()))

dataset/ETHPy150Open letsencrypt/letsencrypt/acme/acme/challenges_test.py HTTP01ResponseTest.test_simple_verify_connection_error/VarMisuse@34/56 `self`->`mock_get`