'If the name of a user partition is changed, or a group is added to the
partition, links from cohorts do not break.
If the name of a group is changed, links from cohorts do not break.'

def test_partition_changes_nondestructive(self):

    self.setup_student_in_group_0()
    new_groups = [Group(10, 'New    Group    10'), Group(20, 'New    Group    20'), Group(30, 'New    Group    30')]
    new_user_partition = UserPartition(0, 'Different    Partition', 'dummy', new_groups, scheme=CohortPartitionScheme)
    self.assert_student_in_group(new_groups[0], new_user_partition)
