Commit 82e0cf99 authored by louiz’'s avatar louiz’

Trivial cleanup

parent d452c2ff
...@@ -240,6 +240,8 @@ class BiboumiTest: ...@@ -240,6 +240,8 @@ class BiboumiTest:
xmpp.process() xmpp.process()
code = asyncio.get_event_loop().run_until_complete(biboumi.wait()) code = asyncio.get_event_loop().run_until_complete(biboumi.wait())
xmpp.biboumi = None
scenario.steps.clear()
failed = False failed = False
if not xmpp.failed: if not xmpp.failed:
if code != self.expected_code: if code != self.expected_code:
...@@ -393,8 +395,6 @@ if __name__ == '__main__': ...@@ -393,8 +395,6 @@ if __name__ == '__main__':
partial(send_stanza, partial(send_stanza,
"<presence from='{jid_one}/{resource_one}' to='%{irc_server_one}/{nick_one}' />"), "<presence from='{jid_one}/{resource_one}' to='%{irc_server_one}/{nick_one}' />"),
connection_begin_sequence("irc.localhost", '{jid_one}/{resource_one}'), connection_begin_sequence("irc.localhost", '{jid_one}/{resource_one}'),
# partial(expect_stanza,
# "/message/body[text()='Mode #foo [+nt] by {irc_host_one}']"),
partial(expect_stanza, partial(expect_stanza,
("/presence[@to='{jid_one}/{resource_one}'][@from='%{irc_server_one}/{nick_one}']/muc_user:x/muc_user:item[@affiliation='none'][@role='participant']", ("/presence[@to='{jid_one}/{resource_one}'][@from='%{irc_server_one}/{nick_one}']/muc_user:x/muc_user:item[@affiliation='none'][@role='participant']",
"/presence/muc_user:x/muc_user:status[@code='110']") "/presence/muc_user:x/muc_user:status[@code='110']")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment