def test_timeline_and_fixations_are_not_empty(self): gt_(len(self.timeline), 0) eq_(len(mock_objects.smi_fixation_ary()), len(self.fixations))
def test_viewings_gets_at_least_some_fixations(self): gt_(len(self.viewings), 0, "Viweings should not be empty.") gt_(sum(len(pres.scanpath) for pres in self.viewings), 0)