'Test that user partition groups can contain unicode characters.'

def test_unicode_user_partitions(self):

    user_groups = [u'\xder\xd6fess\xd6r    X', u'M\xe0gn\xebt\xd6']
    user_partition = UserPartition(0, 'x_man', 'X    Man', [Group(0, user_groups[0]), Group(1, user_groups[1])])
    self.initialize_course(course_factory_kwargs={'user_partitions': [user_partition]})
    _groups = [group.name for group in self.course.user_partitions[0].groups]
    self.assertEqual(_groups, user_groups)
