'Test creation of correct Group Configuration URL.'

def test_group_configuration_url(self):

    mocked_course = Mock(advanced_modules=['split_test'])
    mocked_modulestore = Mock()
    mocked_modulestore.get_course.return_value = mocked_course
    self.split_test_module.system.modulestore = mocked_modulestore
    self.split_test_module.user_partitions = [UserPartition(0, 'first_partition', 'First    Partition', [Group('0', 'alpha'), Group('1', 'beta')])]
    expected_url = '/group_configurations/edX/xml_test_course/101#0'
    self.assertEqual(expected_url, self.split_test_module.group_configuration_url)
