

@mock.patch('acme.challenges.requests.get')
def test_simple_verify_whitespace_validation(self, mock_get):
    from acme.challenges import HTTP01Response
    mock_get.return_value = mock.MagicMock(text=(self.chall.validation(KEY) + HTTP01Response.WHITESPACE_CUTSET))
    self.assertTrue(self.response.simple_verify(mock_get.chall, 'local', KEY.public_key()))
    mock_get.assert_called_once_with(self.chall.uri('local'))

dataset/ETHPy150Open letsencrypt/letsencrypt/acme/acme/challenges_test.py HTTP01ResponseTest.test_simple_verify_whitespace_validation/VarMisuse@63/102 `self`->`mock_get`