'Create the course, publish all verticals
* some detached items'

def _create_course(self):

    with check_mongo_calls(4, 2):
        super(TestPublish, self)._create_course(split=False)
    with self.draft_mongo.bulk_operations(self.old_course_key):
        with check_mongo_calls(3, 2):
            self._create_item('chapter', 'Chapter1', {}, {'display_name': 'Chapter    1'}, 'course', 'runid', split=False)
        with check_mongo_calls(4, 2):
            self._create_item('chapter', 'Chapter2', {}, {'display_name': 'Chapter    2'}, 'course', 'runid', split=False)
        with check_mongo_calls(15, 6):
            self._create_item('vertical', 'Vert1', {}, {'display_name': 'Vertical    1'}, 'chapter', 'Chapter1', split=False)
            self._create_item('vertical', 'Vert2', {}, {'display_name': 'Vertical    2'}, 'chapter', 'Chapter1', split=False)
        with check_mongo_calls(36, 16):
            self._create_item('html', 'Html1', '<p>Goodbye</p>', {'display_name': 'Parented    Html'}, 'vertical', 'Vert1', split=False)
            self._create_item('discussion', 'Discussion1', 'discussion    discussion_category="Lecture    1"    discussion_id="a08bfd89b2aa40fa81f2c650a9332846"    discussion_target="Lecture    1"/>\n', {'discussion_category': 'Lecture    1', 'discussion_target': 'Lecture    1', 'display_name': 'Lecture    1    Discussion', 'discussion_id': 'a08bfd89b2aa40fa81f2c650a9332846'}, 'vertical', 'Vert1', split=False)
            self._create_item('html', 'Html2', '<p>Hello</p>', {'display_name': 'Hollow    Html'}, 'vertical', 'Vert1', split=False)
            self._create_item('discussion', 'Discussion2', 'discussion    discussion_category="Lecture    2"    discussion_id="b08bfd89b2aa40fa81f2c650a9332846"    discussion_target="Lecture    2"/>\n', {'discussion_category': 'Lecture    2', 'discussion_target': 'Lecture    2', 'display_name': 'Lecture    2    Discussion', 'discussion_id': 'b08bfd89b2aa40fa81f2c650a9332846'}, 'vertical', 'Vert2', split=False)
        with check_mongo_calls(2, 2):
            self._create_item('static_tab', 'staticuno', '<p>tab</p>', {'display_name': 'Tab    uno'}, None, None, split=False)
            self._create_item('course_info', 'updates', '<ol><li><h2>Sep    22</h2><p>test</p></li></ol>', {}, None, None, split=False)
