summaryrefslogtreecommitdiff
path: root/tests/end_to_end/scenarios/irc_server_presence_subscription.py
blob: 59bd6e432df905caab9cc916efd3c7e651934b16 (plain)
1
2
3
4
5
6
7
from scenarios import *

scenario = (
    sequences.handshake(),
    send_stanza("<presence type='subscribe' from='{jid_one}/{resource_one}' to='{irc_server_one}' id='sub1' />"),
    expect_stanza("/presence[@to='{jid_one}'][@from='{irc_server_one}'][@type='subscribed']"),
)