diff --git a/xmodule/partitions/tests/test_partitions.py b/xmodule/partitions/tests/test_partitions.py index bc8c74cd3485..fde6afd3141b 100644 --- a/xmodule/partitions/tests/test_partitions.py +++ b/xmodule/partitions/tests/test_partitions.py @@ -14,7 +14,6 @@ from openedx.features.content_type_gating.models import ContentTypeGatingConfig from xmodule.partitions.partitions import ( - ENROLLMENT_TRACK_PARTITION_ID, USER_PARTITION_SCHEME_NAMESPACE, Group, NoSuchUserPartitionGroupError, @@ -552,32 +551,6 @@ def _enable_enrollment_track_partition(enable): """ FEATURES['ENABLE_ENROLLMENT_TRACK_USER_PARTITION'] = enable - def test_enrollment_track_partition_not_added_if_conflict(self): - """ - Test that the dynamic enrollment track scheme is NOT added if a UserPartition exists with that ID. - """ - self.user_partition = UserPartition( - ENROLLMENT_TRACK_PARTITION_ID, - self.TEST_NAME, - self.TEST_DESCRIPTION, - self.TEST_GROUPS, - self.non_random_scheme, - self.TEST_PARAMETERS, - ) - self.course.user_partitions = [self.user_partition] - all_partitions = get_all_partitions_for_course(self.course) - assert 1 == len(all_partitions) - assert self.TEST_SCHEME_NAME == all_partitions[0].scheme.name - - def test_enrollment_track_partition_not_added_if_disabled(self): - """ - Test that the dynamic enrollment track scheme is NOT added if the settings FEATURE flag is disabled. - """ - TestGetCourseUserPartitions._enable_enrollment_track_partition(False) - all_partitions = get_all_partitions_for_course(self.course) - assert 1 == len(all_partitions) - assert self.TEST_SCHEME_NAME == all_partitions[0].scheme.name - def test_filter_inactive_user_partitions(self): """ Tests supplying the `active_only` parameter.