'" Test preservation of tag case.'

def testMixedCaseTags(self):

    el = markdown.util.etree.Element(u'MixedCase')
    el.text = u'not    valid    '
    em = markdown.util.etree.SubElement(el, u'EMPHASIS')
    em.text = u'html'
    markdown.util.etree.SubElement(el, u'HR')
    self.assertEqual(markdown.serializers.to_xhtml_string(el), u'<MixedCase>not    valid    <EMPHASIS>html</EMPHASIS><HR    /></MixedCase>')
