summaryrefslogtreecommitdiff
path: root/tests/test_forms.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_forms.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_forms.py')
-rw-r--r--tests/test_forms.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_forms.py b/tests/test_forms.py
index d5710633..67b0f6a8 100644
--- a/tests/test_forms.py
+++ b/tests/test_forms.py
@@ -14,7 +14,7 @@ class TestDataForms(SleekTest):
msg = self.Message()
msg['form']['instructions'] = "Instructions\nSecond batch"
- self.checkMessage(msg, """
+ self.check_message(msg, """
<message>
<x xmlns="jabber:x:data" type="form">
<instructions>Instructions</instructions>
@@ -35,7 +35,7 @@ class TestDataForms(SleekTest):
required=True,
value='Some text!')
- self.checkMessage(msg, """
+ self.check_message(msg, """
<message>
<x xmlns="jabber:x:data" type="form">
<field var="f1" type="text-single" label="Text">
@@ -62,7 +62,7 @@ class TestDataForms(SleekTest):
'value': 'cool'},
{'label': 'Urgh!',
'value': 'urgh'}]})]
- self.checkMessage(msg, """
+ self.check_message(msg, """
<message>
<x xmlns="jabber:x:data" type="form">
<field var="f1" type="text-single" label="Username">
@@ -99,7 +99,7 @@ class TestDataForms(SleekTest):
form.setValues({'foo': 'Foo!',
'bar': ['a', 'b']})
- self.checkMessage(msg, """
+ self.check_message(msg, """
<message>
<x xmlns="jabber:x:data" type="form">
<field var="foo" type="text-single">