summaryrefslogtreecommitdiff
path: root/tests/test_chatstates.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-10-07 09:22:27 -0400
committerLance Stout <lancestout@gmail.com>2010-10-07 09:22:27 -0400
commit75a051556f2cf65f75534102a7fe57a52571494a (patch)
tree7b0205c55b16bde132eb9d7443bb9c56f1dde5da /tests/test_chatstates.py
parent78141fe5f3d3e8267b6969690b93dd7aba41cf65 (diff)
downloadslixmpp-75a051556f2cf65f75534102a7fe57a52571494a.tar.gz
slixmpp-75a051556f2cf65f75534102a7fe57a52571494a.tar.bz2
slixmpp-75a051556f2cf65f75534102a7fe57a52571494a.tar.xz
slixmpp-75a051556f2cf65f75534102a7fe57a52571494a.zip
Changed SleekTest to use underscored names.
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)