Added test, but didn't find the bug I wanted.

This commit is contained in:
Jeremy Fincher 2004-11-24 12:01:03 +00:00
parent 43b2dcd47e
commit 877c6ee9a8
1 changed files with 5 additions and 0 deletions

View File

@ -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: