def METHOD_NAME(self):
    """Ensure the detail view works as expected"""
    self.c.login(username=self.user.username, password="password")
    response = self.c.get(f"/rest/v1/jobs/indicator_period_aggregation/{self.private_job.id}/?format=json")
    self.assertEqual(response.status_code, HTTP_200_OK)
    data = response.json()
    self.assertEqual(data["id"], self.private_job.id)