From 1109820f7213ddf18324e4a9e7105e327e16e7d5 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Fri, 7 Feb 2020 01:21:32 -0500 Subject: [PATCH] fix a race in testInvisibleWhois --- irctest/server_tests/test_user_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irctest/server_tests/test_user_commands.py b/irctest/server_tests/test_user_commands.py index a40ed10..55d6539 100644 --- a/irctest/server_tests/test_user_commands.py +++ b/irctest/server_tests/test_user_commands.py @@ -39,7 +39,7 @@ class InvisibleTestCase(cases.BaseServerTestCase): def testInvisibleWhois(self): """Test interaction between MODE +i and RPL_WHOISCHANNELS.""" self.connectClient('userOne') - self.sendLine(1, 'JOIN #xyz') + self.joinChannel(1, '#xyz') self.connectClient('userTwo') self.getMessages(2)