summaryrefslogtreecommitdiff
path: root/tests/end_to_end
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-04-25 10:29:55 +0200
committerlouiz’ <louiz@louiz.org>2016-04-25 10:43:20 +0200
commit82e0cf99b0dd0ba48f31060656d03a9586b939c6 (patch)
tree925c9e49722c20dfe93760de1114338149abeb29 /tests/end_to_end
parentd452c2ff1897d5f5c519d6a821598864d8207933 (diff)
downloadbiboumi-82e0cf99b0dd0ba48f31060656d03a9586b939c6.tar.gz
biboumi-82e0cf99b0dd0ba48f31060656d03a9586b939c6.tar.bz2
biboumi-82e0cf99b0dd0ba48f31060656d03a9586b939c6.tar.xz
biboumi-82e0cf99b0dd0ba48f31060656d03a9586b939c6.zip
Trivial cleanup
Diffstat (limited to 'tests/end_to_end')
-rw-r--r--tests/end_to_end/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index 4f8e35b..786c4e9 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -240,6 +240,8 @@ class BiboumiTest:
xmpp.process()
code = asyncio.get_event_loop().run_until_complete(biboumi.wait())
+ xmpp.biboumi = None
+ scenario.steps.clear()
failed = False
if not xmpp.failed:
if code != self.expected_code:
@@ -393,8 +395,6 @@ if __name__ == '__main__':
partial(send_stanza,
"<presence from='{jid_one}/{resource_one}' to='%{irc_server_one}/{nick_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,
("/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']")