def METHOD_NAME(self):
    """Verify that if schedule is unpublished, page does not appear."""
    self._unpublish_schedule()
    response = self.client.get(reverse("speaker_list"))
    # Regular users should get redirected to the login page,
    # because SpeakerListView.raise_exception is False.
    speaker_list_login_regex = r"^{}\?next\=(.*){}$".format(
        escape(settings.LOGIN_URL), escape(reverse("speaker_list"))
    )
    self.assertRegex(response.url, speaker_list_login_regex)