blob: 2af30eed9db3548cab06a7281d3e5d434d03c4ec (
plain)
1
2
3
4
5
6
7
|
from scenarios import *
scenario = (
sequences.handshake(),
send_stanza("<iq type='set' id='ping-command1' from='{jid_one}/{resource_one}' to='{biboumi_host}'><command xmlns='http://jabber.org/protocol/commands' node='ping' action='execute' /></iq>"),
expect_stanza("/iq[@type='result']/commands:command[@node='ping'][@status='completed']/commands:note[@type='info'][text()='Pong']")
)
|