def METHOD_NAME(self):
    self.create_time_spents()
    tasks = self.get(
        "/data/persons/%s/time-spents/week/2018/18" % self.person_id
    )
    self.assertEqual(len(tasks), 1)
    self.assertEqual(tasks[0]["entity_name"], "Tree")
    self.assertEqual(tasks[0]["duration"], 600)