'Test message/html/body stanza'

def testHTMLPlugin(self):

    msg = self.Message()
    msg['to'] = 'fritzy@netflint.net/sleekxmpp'
    msg['body'] = 'this    is    the    plaintext    message'
    msg['type'] = 'chat'
    msg['html']['body'] = '<p>This    is    the    htmlim    message</p>'
    self.check(msg, '\n                                        <message    to="fritzy@netflint.net/sleekxmpp"    type="chat">\n                                                <body>this    is    the    plaintext    message</body>\n                                                <html    xmlns="http://jabber.org/protocol/xhtml-im">\n                                                        <body    xmlns="http://www.w3.org/1999/xhtml">\n                                                                <p>This    is    the    htmlim    message</p>\n                                                    </body>\n                                                </html>\n                                        </message>')
