'Bug 925043 - Redesign TOC has a bunch of empty <code> tags in markup'

def test_bug_925043(self):

    doc_src = '\n                                                <h2    id="Print">Mastering    <code>print</code></h2>\n                                                <code>print    \'Hello    World!\'</code>\n                                '
    expected = '\n                                                <li>\n                                                                <a    href="#Print"    rel="internal">Mastering<code>print</code></a>\n                                                </li>\n                                '
    result = kuma.wiki.content.parse(doc_src).filter(SectionTOCFilter).serialize()
    eq_(normalize_html(expected), normalize_html(result))
