And modify the tests to work, by adding the <x/> node in all join presences

This commit is contained in:
louiz’
2020-03-11 15:27:11 +01:00
parent 14fe971183
commit 8013bb1cfe
43 changed files with 75 additions and 70 deletions
@@ -3,6 +3,6 @@ from scenarios import *
conf = 'fixed_server'
scenario = (
send_stanza("<presence type='subscribe' from='{jid_one}/{resource_one}' to='{biboumi_host}' id='sub1' />"),
send_stanza("<presence type='subscribe' from='{jid_one}/{resource_one}' to='{biboumi_host}' id='sub1' ><x xmlns='http://jabber.org/protocol/muc'/></presence>"),
expect_stanza("/presence[@to='{jid_one}'][@from='{biboumi_host}'][@type='subscribed']")
)