mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Added test to make sure unban worked.
This commit is contained in:
parent
0385b71235
commit
50d777e41f
@ -157,6 +157,12 @@ class FunctionsTestCase(unittest.TestCase):
|
||||
[('+b', bans[0]), ('+b', bans[1]),
|
||||
('+e', exceptions[0])])
|
||||
|
||||
def testUnban(self):
|
||||
channel = '#supybot'
|
||||
ban = 'foo!bar@baz'
|
||||
self.assertEqual(str(ircmsgs.unban(channel, ban)),
|
||||
'MODE %s -b :%s\r\n' % (channel, ban))
|
||||
|
||||
def testJoin(self):
|
||||
channel = '#osu'
|
||||
key = 'michiganSucks'
|
||||
|
Loading…
Reference in New Issue
Block a user