~singpolyma/biboumi

ref: fdb3e739b0f1969e83250d98bda27b938a207f81 biboumi/tests/end_to_end/scenarios/irc_server_presence_subscription.py -rw-r--r-- 249 bytes
fdb3e739 — louiz’ Typos: negociat… -> negotiat… 1 year, 10 months ago
                                                                                
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']"),
)