def METHOD_NAME(self):
    """
    Anonymous users can make `whoami` requests.
    They receive a 401 response confirming they are not logged in.
    """
    response = self.client.get("/api/users/whoami/")
    self.assertEqual(response.status_code, 401)