summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-10-04 21:21:55 +0200
committermathieui <mathieui@mathieui.net>2016-10-04 21:21:55 +0200
commit1b5fe57a5eb158d34d70130ba69a5e5a5fd850e4 (patch)
treec5b28c8b84a8a054bdbbf2e9873e898eb6212cac
parent5da31db0c7386f43a344ab7c9bc82dc0a6836b85 (diff)
downloadslixmpp-1b5fe57a5eb158d34d70130ba69a5e5a5fd850e4.tar.gz
slixmpp-1b5fe57a5eb158d34d70130ba69a5e5a5fd850e4.tar.bz2
slixmpp-1b5fe57a5eb158d34d70130ba69a5e5a5fd850e4.tar.xz
slixmpp-1b5fe57a5eb158d34d70130ba69a5e5a5fd850e4.zip
Fix XEP-0060 tests
-rw-r--r--tests/test_stanza_xep_0060.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_stanza_xep_0060.py b/tests/test_stanza_xep_0060.py
index 9a5e3e0b..2a5f7d84 100644
--- a/tests/test_stanza_xep_0060.py
+++ b/tests/test_stanza_xep_0060.py
@@ -161,6 +161,7 @@ class TestPubsubStanzas(SlixTest):
iq['pubsub']['subscribe']['options']['node'] = 'cheese'
iq['pubsub']['subscribe']['options']['jid'] = 'fritzy@netflint.net/slixmpp'
form = xep_0004.Form()
+ form['type'] = 'submit'
form.add_field('pubsub#title', ftype='text-single', value='this thing is awesome')
iq['pubsub']['subscribe']['options']['options'] = form
self.check(iq, """
@@ -201,6 +202,7 @@ class TestPubsubStanzas(SlixTest):
iq['pubsub']['publish'].append(item)
iq['pubsub']['publish'].append(item2)
form = xep_0004.Form()
+ form['type'] = 'submit'
form.addField('pubsub#description', ftype='text-single', value='this thing is awesome')
iq['pubsub']['publish_options'] = form