def METHOD_NAME(self):
    with hostname_resolving_to_ips(
        'some.malicious.url',
        [self.VALID_IP_1, self.LOOPBACK_ADDRESS, self.VALID_IP_3]
    ):
        with self.assertRaises(PossibleSSRFAttempt):
            validate_user_input_url('http://some.malicious.url')