'Test case scaffolding'

@patch.dict('django.conf.settings.FEATURES', {'ENTRANCE_EXAMS': True})
def setUp(self):

    super(EntranceExamsTabsTestCase, self).setUp()
    self.course = CourseFactory.create()
    self.instructor_tab = ItemFactory.create(category='instructor', parent_location=self.course.location, data='Instructor    Tab', display_name='Instructor')
    self.extra_tab_2 = ItemFactory.create(category='static_tab', parent_location=self.course.location, data='Extra    Tab', display_name='Extra    Tab    2')
    self.extra_tab_3 = ItemFactory.create(category='static_tab', parent_location=self.course.location, data='Extra    Tab', display_name='Extra    Tab    3')
    self.setup_user()
    self.enroll(self.course)
    self.user.is_staff = True
    self.relationship_types = get_milestone_relationship_types()
