'Tests tab list is not limited if user is member of staff
and has not passed entrance exam.'

def test_course_tabs_list_for_staff_members(self):

    self.client.logout()
    staff_user = StaffFactory(course_key=self.course.id)
    self.client.login(username=staff_user.username, password='test')
    request = get_mock_request(staff_user)
    course_tab_list = get_course_tab_list(request, self.course)
    self.assertEqual(len(course_tab_list), 5)
