Comparison

spec/scansion/version.scs @ 10729:dbce2b94a7eb

mod_version: Add scansion test Why was this module enabled in the config for tests if it wasn't tested?
author Kim Alvefur <zash@zash.se>
date Mon, 20 Apr 2020 18:17:57 +0200
comparison
equal deleted inserted replaced
10728:2764beb552cd 10729:dbce2b94a7eb
1 # XEP-0092: Software Version / mod_version
2
3 [Client] Romeo
4 password: password
5 jid: romeo@localhost/dfaZpuxV
6
7 -----
8
9 Romeo connects
10
11 Romeo sends:
12 <iq id='lx2' to='localhost' type='get'>
13 <query xmlns='jabber:iq:version'/>
14 </iq>
15
16 # Version string would vary so we can't do an exact match atm
17 # Inclusion of <os/> is disabled in the config, it should be absent
18 Romeo receives:
19 <iq id='lx2' from='localhost' type='result'>
20 <query xmlns='jabber:iq:version' scansion:strict='true'>
21 <name>Prosody</name>
22 <version scansion:strict='false'/>
23 </query>
24 </iq>
25
26
27 Romeo disconnects