fixing deprecation warnings for pytest
This commit is contained in:

committed by
Emmanuel Gil Peyrot

parent
809c500002
commit
d33366badd
@@ -50,7 +50,7 @@ class TestStreamChatStates(SlixTest):
|
||||
""")
|
||||
|
||||
expected = ['active', 'inactive', 'paused', 'composing', 'gone']
|
||||
self.failUnless(results == expected,
|
||||
self.assertTrue(results == expected,
|
||||
"Chat state event not handled: %s" % results)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user