diff --git a/Bantracker/test.py b/Bantracker/test.py index d8a36be..5ef7cd1 100644 --- a/Bantracker/test.py +++ b/Bantracker/test.py @@ -124,7 +124,7 @@ class BantrackerTestCase(ChannelPluginTestCase): self.assertEqual(str(msg).strip(), "PRIVMSG op :Please comment on the removal of dude in #test, use: @comment 3" " ") - self.feedBan('dude', mode='p') + self.feedBan('dude!dude@trollpit.com', mode='p') msg = self.irc.takeMsg() self.assertEqual(str(msg).strip(), "PRIVMSG op :Please comment on the removal of dude in #test, use: @comment 4" @@ -285,7 +285,7 @@ class BantrackerTestCase(ChannelPluginTestCase): def testPart(self): self.feedBan('troll!user@trollpit.net', mode='p') fetch = self.query("SELECT id,channel,mask,operator FROM bans") - self.assertEqual((1, '#test', 'troll!user@trollpit.net', 'op'), fetch[0]) + self.assertEqual((1, '#test', 'troll', 'op'), fetch[0])