summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Robinson <rerobins@gmail.com>2015-09-18 13:35:28 -0600
committerRobert Robinson <rerobins@gmail.com>2015-09-18 13:35:28 -0600
commitc2dc44cfd17d24f7737113efb4e0e9cab5d7d09f (patch)
treed7a08ff192eac6e341e66891a0ded70ebd0e238f /tests
parent5fc14de32e7fbd4e33a0e1ed92d8fb23871a2a2d (diff)
parentffb2b6bc0464a9646d4b4bca3943d3a89dfc13a6 (diff)
downloadslixmpp-c2dc44cfd17d24f7737113efb4e0e9cab5d7d09f.tar.gz
slixmpp-c2dc44cfd17d24f7737113efb4e0e9cab5d7d09f.tar.bz2
slixmpp-c2dc44cfd17d24f7737113efb4e0e9cab5d7d09f.tar.xz
slixmpp-c2dc44cfd17d24f7737113efb4e0e9cab5d7d09f.zip
Merge branch 'develop' into xep_0050_updates
# Conflicts: # tests/test_stream_xep_0050.py
Diffstat (limited to 'tests')
-rw-r--r--tests/test_stream_xep_0050.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_stream_xep_0050.py b/tests/test_stream_xep_0050.py
index 0a3eb718..e38c4add 100644
--- a/tests/test_stream_xep_0050.py
+++ b/tests/test_stream_xep_0050.py
@@ -120,6 +120,7 @@ class TestAdHocCommands(SleekTest):
def handle_form(form, session):
results.append(form.get_values()['foo'])
+ session['payload'] = None
form = self.xmpp['xep_0004'].makeForm('form')
form.addField(var='foo', ftype='text-single', label='Foo')
@@ -192,6 +193,7 @@ class TestAdHocCommands(SleekTest):
def handle_step2(form, session):
results.append(form.get_values()['bar'])
+ session['payload'] = None
def handle_step1(form, session):
results.append(form.get_values()['foo'])
@@ -427,6 +429,7 @@ class TestAdHocCommands(SleekTest):
def handle_form(forms, session):
for form in forms:
results.append(form.get_values()['FORM_TYPE'])
+ session['payload'] = None
form1 = self.xmpp['xep_0004'].makeForm('form')
form1.addField(var='FORM_TYPE', ftype='hidden', value='form_1')