~singpolyma/biboumi

ref: a0d24b48471e5307fda077a11491a3c44cbbdfaf biboumi/tests/end_to_end/scenarios/fixed_irc_server_subscription.py -rw-r--r-- 267 bytes
a0d24b48 — louiz’ add CAP_NET_BIND_SERVICE in biboumi.service to be able to bind on port 113 3 years ago
                                                                                
bd41bc8b louiz’
1
2
3
4
5
6
7
8
from scenarios import *

conf = 'fixed_server'

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