summaryrefslogtreecommitdiff
path: root/tests/end_to_end
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-04-29 01:40:46 +0200
committerlouiz’ <louiz@louiz.org>2018-04-29 01:40:46 +0200
commit7592d966e684410f603942e34413375c8d98ac9e (patch)
tree7b3af3008c6a6532edbf4f4fe3534778886e669e /tests/end_to_end
parentefa63ee5cb4be3aebc1489dc9db936eea26660d4 (diff)
downloadbiboumi-7592d966e684410f603942e34413375c8d98ac9e.tar.gz
biboumi-7592d966e684410f603942e34413375c8d98ac9e.tar.bz2
biboumi-7592d966e684410f603942e34413375c8d98ac9e.tar.xz
biboumi-7592d966e684410f603942e34413375c8d98ac9e.zip
Missing fields in a data-form response are now interpreted as an empty value
Diffstat (limited to 'tests/end_to_end')
-rw-r--r--tests/end_to_end/__main__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index 82321eb..2f6fc28 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -2885,6 +2885,7 @@ if __name__ == '__main__':
partial(expect_stanza, ("/iq[@type='result']/commands:command[@node='configure'][@sessionid][@status='executing']",
"/iq/commands:command/dataform:x[@type='form']/dataform:title[text()='Configure the IRC server irc.localhost']",
"/iq/commands:command/dataform:x[@type='form']/dataform:instructions[text()='Edit the form, to configure the settings of the IRC server irc.localhost']",
+ "!/iq/commands:command/dataform:x/dataform:field[@var='tls_ports']/dataform:value",
"!/iq/commands:command/dataform:x[@type='form']/dataform:field[@var='pass']/dataform:value",
"!/iq/commands:command/dataform:x[@type='form']/dataform:field[@var='after_connect_commands']/dataform:value",
"!/iq/commands:command/dataform:x[@type='form']/dataform:field[@var='username']/dataform:value",