'Build a discussion xblock in self.course'

def make_discussion_xblock(self, topic_id, category, subcategory, **kwargs):

    ItemFactory.create(parent_location=self.course.location, category=u'discussion', discussion_id=topic_id, discussion_category=category, discussion_target=subcategory, **kwargs)
