this is the plaintext messageThis is the htmlim message
"""
- msg = self.m.Message()
+ msg = self.Message()
msg['to'] = "fritzy@netflint.net/sleekxmpp"
msg['body'] = "this is the plaintext message"
msg['type'] = 'chat'
p = ET.Element('{http://www.w3.org/1999/xhtml}p')
p.text = "This is the htmlim message"
msg['html']['html'] = p
- msg2 = self.m.Message()
- values = msg.getValues()
- msg2.setValues(values)
- self.failUnless(msgtxt == str(msg) == str(msg2))
+ self.checkMessage(msg, """
+