'Test that the dynamic enrollment track scheme is NOT added if the settings FEATURE flag is disabled.'

def test_enrollment_track_partition_not_added_if_disabled(self):

    TestGetCourseUserPartitions._enable_enrollment_track_partition(False)
    all_partitions = get_all_partitions_for_course(self.course)
    self.assertEqual(1, len(all_partitions))
    self.assertEqual(self.TEST_SCHEME_NAME, all_partitions[0].scheme.name)
