'Helper method to set up topics on the course.  Returns a list of
created topics.'

def setup_topics(self, num_topics=5, teams_per_topic=0):

    self.course.teams_configuration['topics'] = []
    topics = [{u'name': u'T\xf8pic    {}'.format(i), u'description': u'The    b\xe9st    topic!    {}'.format(i), u'id': unicode(i)} for i in xrange(num_topics)]
    for i in xrange(num_topics):
        topic_id = unicode(i)
        self.course.teams_configuration['topics'].append(topics[i])
        for _ in xrange(teams_per_topic):
            CourseTeamFactory.create(course_id=self.course.id, topic_id=topic_id)
    return topics
