'Test that for empty subcategory inline discussion modules,
the divider " / " is not rendered on a post or inline discussion topic label.'

def test_empty_discussion_subcategory_title(self):

    discussion = ItemFactory.create(parent_location=self.course.location, category='discussion', discussion_id='discussion', discussion_category='Chapter', discussion_target='')
    thread = {'commentable_id': discussion.discussion_id}
    utils.add_courseware_context([thread], self.course, self.user)
    self.assertNotIn('/', thread.get('courseware_title'))
