def METHOD_NAME(self):
    """
    Error case: the client used an incorrectly formatted request
    """
    # The request contains incorrect params: limit should be a positive integer
    response = self.client.get("/api/v1.0/persons/?title=&limit=-2")
    # The client received a BadRequest response with the relevant data
    self.assertEqual(response.status_code, 400)
    self.assertTrue("limit" in response.data["errors"])