e2e: Implicitely include the handshake in all tests
Instead of having to write it manually everytime
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
from scenarios import *
|
||||
|
||||
scenario = (
|
||||
sequences.handshake(),
|
||||
|
||||
send_stanza("<iq from='{jid_one}/{resource_one}' to='#foo%{irc_server_one}' id='1' type='get'><query xmlns='http://jabber.org/protocol/disco#info' node='http://jabber.org/protocol/muc#traffic'/></iq>"),
|
||||
expect_stanza("/iq[@from='#foo%{irc_server_one}'][@to='{jid_one}/{resource_one}'][@type='result']/disco_info:query[@node='http://jabber.org/protocol/muc#traffic']"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user