Get tests to pass again.

Re-add old gmail_notify plugin for now.
This commit is contained in:
Lance Stout
2013-01-26 15:10:06 -08:00
parent 639a3aa832
commit 23f112602c
6 changed files with 168 additions and 17 deletions

View File

@@ -30,9 +30,7 @@ class TestMessageStanzas(SleekTest):
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']['body'] = p
msg['html']['body'] = '<p>This is the htmlim message</p>'
self.check(msg, """
<message to="fritzy@netflint.net/sleekxmpp" type="chat">
<body>this is the plaintext message</body>