Files
biboumi/tests/end_to_end/scenarios/fixed_irc_server_subscription.py
T
louiz’ efb695be6b e2e: Implicitely include the handshake in all tests
Instead of having to write it manually everytime
2019-11-09 20:50:36 +01:00

9 lines
267 B
Python

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']")
)