From 93f5ef5b9ee9028bbce96cc995bf41d3741c174c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eli=C3=A1n=20Hanisch?= Date: Mon, 12 Apr 2010 21:33:15 -0300 Subject: [PATCH] fix testcases for forced parts --- Bantracker/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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])