def METHOD_NAME(self):
    self.create_events()
    e = utils.create_event(user=self.owner, commit1='456', branch1=self.branch, branch2=self.branch, cause=models.Event.PUSH)
    e.description = "some description"
    e.save()
    event_q = EventsStatus.get_default_events_query()[:30]
    info = EventsStatus.multiline_events_info(event_q, max_jobs_per_line=100)
    self.assertEqual(len(info), 3)
    self.assertEqual(len(info[0]["jobs"]), 6)
    info = EventsStatus.multiline_events_info(event_q, max_jobs_per_line=1)
    self.assertEqual(len(info), 18)