fixing deprecation warnings for pytest
This commit is contained in:
committed by
Emmanuel Gil Peyrot
parent
809c500002
commit
d33366badd
@@ -18,7 +18,7 @@ class TestMessageStanzas(SlixTest):
|
||||
msg['type'] = 'groupchat'
|
||||
msg['body'] = "this is a message"
|
||||
msg = msg.reply()
|
||||
self.failUnless(str(msg['to']) == 'room@someservice.someserver.tld')
|
||||
self.assertTrue(str(msg['to']) == 'room@someservice.someserver.tld')
|
||||
|
||||
def testHTMLPlugin(self):
|
||||
"Test message/html/body stanza"
|
||||
|
||||
Reference in New Issue
Block a user