mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +01:00
Added a test for notice and private combined.
This commit is contained in:
parent
e65a7ec17c
commit
9c2611328f
@ -177,6 +177,14 @@ class MiscTestCase(ChannelPluginTestCase):
|
||||
m = self.getMsg('notice [list]')
|
||||
self.assertEqual(m.command, 'NOTICE')
|
||||
|
||||
def testNoticePrivate(self):
|
||||
m = self.assertNotError('notice [private [list]]')
|
||||
self.assertEqual(m.command, 'NOTICE')
|
||||
self.assertEqual(m.args[0], self.nick)
|
||||
m = self.assertNotError('private [notice [list]]')
|
||||
self.assertEqual(m.command, 'NOTICE')
|
||||
self.assertEqual(m.args[0], self.nick)
|
||||
|
||||
def testHostmask(self):
|
||||
self.assertResponse('hostmask', self.prefix)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user