'Tests entrance exam section is available if ENTRANCE_EXAMS feature is enabled no matter any other
feature is enabled or disabled i.e ENABLE_MKTG_SITE.'

@ddt.data((False, False, False), (True, False, True), (False, True, False), (True, True, True))
@override_settings(MKTG_URLS={'ROOT': 'dummy-root'})
def test_visibility_of_entrance_exam_section(self, feature_flags):

    with patch.dict('django.conf.settings.FEATURES', {'ENTRANCE_EXAMS': feature_flags[0], 'ENABLE_MKTG_SITE': feature_flags[1]}):
        course_details_url = get_url(self.course.id)
        resp = self.client.get_html(course_details_url)
        self.assertEqual(feature_flags[2], ('<h3    id="heading-entrance-exam">' in resp.content))
