From 8013bb1cfecf410466370c5d337490e30c02ced1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Wed, 11 Mar 2020 14:43:21 +0100 Subject: And modify the tests to work, by adding the node in all join presences --- tests/end_to_end/scenarios/multisessionnick.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/end_to_end/scenarios/multisessionnick.py') diff --git a/tests/end_to_end/scenarios/multisessionnick.py b/tests/end_to_end/scenarios/multisessionnick.py index 4e72ce7..f47b18e 100644 --- a/tests/end_to_end/scenarios/multisessionnick.py +++ b/tests/end_to_end/scenarios/multisessionnick.py @@ -4,12 +4,12 @@ from scenarios.simple_channel_join import expect_self_join_presence scenario = ( # Resource one joins a channel - send_stanza(""), + send_stanza(""), sequences.connection(), expect_self_join_presence(jid = '{jid_one}/{resource_one}', chan = "#foo", nick = "{nick_one}"), # The other resources joins the same room, with the same nick - send_stanza(""), + send_stanza(""), # We receive our own join expect_unordered( @@ -24,7 +24,7 @@ scenario = ( ), # A different user joins the same room - send_stanza(""), + send_stanza(""), sequences.connection("irc.localhost", '{jid_two}/{resource_one}'), expect_unordered( # The new user’s presence is sent to the the existing occupant (two resources) -- cgit v1.2.3