'Import and walk through some common URL endpoints. This just verifies non-500 and no other
correct behavior, so it is not a deep test'

def test_cms_imported_course_walkthrough(self):

    def test_get_html(handler):
        resp = self.client.get_html(get_url(handler, course_key, 'course_key_string'))
        self.assertEqual(resp.status_code, 200)
    course_items = import_course_from_xml(self.store, self.user.id, TEST_DATA_DIR, ['simple'], create_if_not_present=True)
    course_key = course_items[0].id
    resp = self._show_course_overview(course_key)
    self.assertEqual(resp.status_code, 200)
    self.assertContains(resp, 'Chapter    2')
    test_get_html('import_handler')
    test_get_html('export_handler')
    test_get_html('course_team_handler')
    test_get_html('course_info_handler')
    test_get_html('assets_handler')
    test_get_html('tabs_handler')
    test_get_html('settings_handler')
    test_get_html('grading_handler')
    test_get_html('advanced_settings_handler')
    test_get_html('textbooks_list_handler')
    unit_key = course_key.make_usage_key('vertical', 'test_vertical')
    resp = self.client.get_html(get_url('container_handler', unit_key))
    self.assertEqual(resp.status_code, 200)
    def delete_item(category, name):
        '    Helper    method    for    testing    the    deletion    of    an    xblock    item.    '
        item_key = course_key.make_usage_key(category, name)
        resp = self.client.delete(get_url('xblock_handler', item_key))
        self.assertEqual(resp.status_code, 204)
    delete_item(category='html', name='test_html')
    delete_item(category='vertical', name='test_vertical')
    delete_item(category='sequential', name='test_sequence')
    delete_item(category='chapter', name='chapter_2')
