'Selects the student admin tab and returns the requested
admin section.
admin_class should be a subclass of StudentAdminPage.'

def select_student_admin(self, admin_class):

    self.q(css='[data-section="student_admin"]').first.click()
    student_admin_section = admin_class(self.browser)
    student_admin_section.wait_for_page()
    return student_admin_section
