

def test_display_of_event_without_start_date(self):
    'A bug prevented events without start date to throw a 404.\n\n        This is a regression test against that bug.\n        The error happened when "".format encountered None instead of\n        datetime.'
    event = Event.objects.create(slug='regression_event_0', host=self.test_host)
    rv = self.client.get(reverse('event_details', args=[self.pk]))
    assert (rv.status_code == 200)

dataset/ETHPy150Open swcarpentry/amy/workshops/test/test_event.py TestEventViews.test_display_of_event_without_start_date/VarMisuse@46/133 `event`->`self`