def test_on(self): l = EventList() c = Calendar(cal1) l.append(c.events[0]) day = "2013-10-29" self.assertIn(c.events[0], l.on(day))