def METHOD_NAME(self):
    """api handles nonexistant users"""
    api_link = reverse(
        "misago:api:user-edit-details", kwargs={"pk": self.user.pk + 123}
    )
    response = self.client.get(api_link)
    self.assertEqual(response.status_code, 404)