'Test that the instructor tab is hidden when viewing as a student.'

def test_instructor_tab_visibility(self):

    course_page = self._goto_staff_page()
    self.assertTrue(course_page.has_tab('Instructor'))
    course_page.set_staff_view_mode('Learner')
    self.assertEqual(course_page.staff_view_mode, 'Learner')
    self.assertFalse(course_page.has_tab('Instructor'))
