def test_upcoming_asc_order(self):
        events = [generate_random_event(hours_ago(i), hours_ago(i + 1))
                for i in random.sample(xrange(-48, 48), 10)]

        upcoming = list(Event.objects.upcoming())
        self.assertTrue(upcoming == sorted(upcoming,
                key=lambda e: e.start_date))