def test_present_event(self):
     event_start = datetime.datetime.now(
         timezone('America/New_York')) - timedelta(minutes=5)
     event_end = event_start + timedelta(hours=1)
     self.assertEquals(when(event_start, event_end), 'present')
 def test_present_event(self):
     event_start = datetime.datetime.now(timezone('America/New_York')) - timedelta(minutes = 5)
     event_end = event_start + timedelta(hours = 1)
     self.assertEquals(when(event_start, event_end), 'present')