def METHOD_NAME(self):
    BulkEmailFlag.objects.create(enabled=True, require_course_email_auth=True)
    # Authorize the course to use email
    cauth = CourseAuthorization(course_id=self.course.id, email_enabled=True)
    cauth.save()
    # Disabled the course to use email
    disabled_course = DisabledCourse(course_id=self.course.id)
    disabled_course.save()
    # Assert that instructor email is disabled for this course
    assert is_bulk_email_disabled_for_course(self.course.id)
    # Assert that the URL for the email view is not in the response
    response = self.client.get(self.url)
    self.assertNotContains(response, self.email_link)