def test_event_birthday_calendar(
            self,
            admin_attendee,
            epoch,
            eschaton,
            expected,
            birthdays,
            monkeypatch):

        monkeypatch.setattr(c, 'EPOCH', epoch)
        monkeypatch.setattr(c, 'ESCHATON', eschaton)

        response = summary.Root().event_birthday_calendar()
        if isinstance(response, bytes):
            response = response.decode('utf-8')

        lines = response.strip().split('\n')
        assert len(lines) == (expected + 1)  # Extra line for the header