summaryrefslogtreecommitdiff
path: root/tests/end_to_end/scenarios/self_ping_fixed_server.py
blob: 453387ccb4e7bfb4f61254296cfe8c1d54f0d961 (plain)
1
2
3
4
5
6
7
8
9
10
11
from scenarios import *

conf = "fixed_server"

scenario = (
    scenarios.simple_channel_join_fixed.scenario,
    
    # Send a ping to ourself
    send_stanza("<iq type='get' from='{jid_one}/{resource_one}' id='first_ping' to='#foo@{biboumi_host}/{nick_one}'><ping xmlns='urn:xmpp:ping' /></iq>"),
    expect_stanza("/iq[@from='#foo@{biboumi_host}/{nick_one}'][@type='result'][@to='{jid_one}/{resource_one}'][@id='first_ping']"),
)