def test_get_ongoing_events(self):

        ongoing_events = Event.objects.ongoing_events()
        event_slugs = [e.slug for e in ongoing_events]
        correct_slugs = ['ends-tomorrow-ongoing', 'ends-today-ongoing']

        self.assertCountEqual(event_slugs, correct_slugs)
Test the events manager can find all events overlapping today.
dataset/ETHPy150Open swcarpentry/amy/workshops/test/test_event.py/TestEvent.test_get_ongoing_events