~singpolyma/biboumi

ref: 14fe971183e5a281525827c8135965f57e15f73b biboumi/tests/end_to_end/scenarios/fixed_irc_server_subscription.py -rw-r--r-- 267 bytes
14fe9711 — Emmanuel Gil Peyrot Don’t treat presence updates as MUC joins 3 years ago
                                                                                
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']")
)