From 1b5fe57a5eb158d34d70130ba69a5e5a5fd850e4 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 4 Oct 2016 21:21:55 +0200 Subject: Fix XEP-0060 tests --- tests/test_stanza_xep_0060.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3