blob: ecac07e20ddc8a6b662518e43b9ace2d2b0fbad8 (
plain)
1
2
3
4
5
6
7
8
9
|
from scenarios import *
conf = 'fixed_server'
scenario = (
sequences.handshake(),
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']")
)
|