'The purpose of this test is to ensure that when there is 1 or fewer course modes
the enrollment track section is not shown.'

def test_one_course_mode(self):

    add_enrollment_course_modes(self.browser, self.course_id, [u'audit'])
    group_configurations_page = GroupConfigurationsPage(self.browser, self.course_info[u'org'], self.course_info[u'number'], self.course_info[u'run'])
    group_configurations_page.visit()
    self.assertFalse(group_configurations_page.enrollment_track_section_present)
    groups = group_configurations_page.get_enrollment_groups()
    self.assertEqual(len(groups), 0)
