def METHOD_NAME(self):
    """api errors correctly for blank input"""
    response = self.client.post(
        self.link, data={"new_password": "", "password": self.USER_PASSWORD}
    )
    self.assertEqual(response.status_code, 400)
    self.assertEqual(
        response.json(), {"new_password": ["This field may not be blank."]}
    )