def METHOD_NAME(self):
    self.request.GET["username"] = self.USERNAME_1
    self.request.META["REMOTE_ADDR"] = self.IP_1
    reset_request(self.request)
    self.assertEqual(AccessAttempt.objects.count(), 3)