summaryrefslogtreecommitdiff
path: root/tests/test_chatstates.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_chatstates.py')
-rw-r--r--tests/test_chatstates.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_chatstates.py b/tests/test_chatstates.py
index 74359df9..d5e3979a 100644
--- a/tests/test_chatstates.py
+++ b/tests/test_chatstates.py
@@ -21,24 +21,24 @@ class TestChatStates(SleekTest):
msg = self.Message()
msg['chat_state'].active()
- self.checkMessage(msg, xmlstring % 'active',
+ self.check_message(msg, xmlstring % 'active',
use_values=False)
msg['chat_state'].composing()
- self.checkMessage(msg, xmlstring % 'composing',
+ self.check_message(msg, xmlstring % 'composing',
use_values=False)
msg['chat_state'].gone()
- self.checkMessage(msg, xmlstring % 'gone',
+ self.check_message(msg, xmlstring % 'gone',
use_values=False)
msg['chat_state'].inactive()
- self.checkMessage(msg, xmlstring % 'inactive',
+ self.check_message(msg, xmlstring % 'inactive',
use_values=False)
msg['chat_state'].paused()
- self.checkMessage(msg, xmlstring % 'paused',
+ self.check_message(msg, xmlstring % 'paused',
use_values=False)
suite = unittest.TestLoader().loadTestsFromTestCase(TestChatStates)