mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Added test, but didn't find the bug I wanted.
This commit is contained in:
parent
43b2dcd47e
commit
877c6ee9a8
@ -229,5 +229,10 @@ class FunctionsTestCase(SupyTestCase):
|
||||
m = ircmsgs.dehalfops('#foo', ['foo', 'bar', 'baz'])
|
||||
self.assertEqual(str(m), 'MODE #foo -hhh foo bar :baz\r\n')
|
||||
|
||||
def testMode(self):
|
||||
m = ircmsgs.mode('#foo', ('-b', 'foo!bar@baz'))
|
||||
s = str(m)
|
||||
self.assertEqual(s, 'MODE #foo -b :foo!bar@baz\r\n')
|
||||
|
||||
|
||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||
|
Loading…
Reference in New Issue
Block a user