'Test Header Base Level.'

def testBaseLevel(self):

    md = markdown.Markdown(extensions=[markdown.extensions.toc.TocExtension(baselevel=5)])
    text = u'#    Some    Header\n\n##    Next    Level\n\n###    Too    High'
    self.assertEqual(md.convert(text), u'<h5    id="some-header">Some    Header</h5>\n<h6    id="next-level">Next    Level</h6>\n<h6    id="too-high">Too    High</h6>')
    self.assertEqual(md.toc, u'<div    class="toc">\n<ul>\n<li><a    href="#some-header">Some    Header</a><ul>\n<li><a    href="#next-level">Next    Level</a></li>\n<li><a    href="#too-high">Too    High</a></li>\n</ul>\n</li>\n</ul>\n</div>\n')
