def METHOD_NAME(cls):
    # TODO: Use TestCase.setUpTestData() instead in Django 1.8+.
    super().METHOD_NAME()
    cls.calendar = Calendar.objects.create(url=EVENTS_CALENDAR_URL, slug='python-events')