def METHOD_NAME(self):
    limiter.enabled = True
    # Extract the limit from settings (ex: '50/day')
    limit = settings.THROTTLE_LOGIN_PATTERN.split("/")[0]
    for _ in range(0, int(limit)):
        self.get_request("/login", org=self.factory.org)
    response = self.get_request("/login", org=self.factory.org)
    self.assertEqual(response.status_code, 429)