Updated XHTML-IM stanza with documentation and PEP8 style.

This commit is contained in:
Lance Stout
2010-08-03 17:58:18 -04:00
parent 18683d2b75
commit 183a3f1b87
2 changed files with 71 additions and 26 deletions

View File

@@ -32,7 +32,7 @@ class TestMessageStanzas(SleekTest):
msg['type'] = 'chat'
p = ET.Element('{http://www.w3.org/1999/xhtml}p')
p.text = "This is the htmlim message"
msg['html']['html'] = p
msg['html']['body'] = p
self.checkMessage(msg, """
<message to="fritzy@netflint.net/sleekxmpp" type="chat">
<body>this is the plaintext message</body>