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

scenario = (
    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']"),
)