mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 02:49:27 +01:00
Forgot to remove the tests for getCommands.
This commit is contained in:
parent
4808a68f7d
commit
5b3b616671
@ -254,16 +254,6 @@ class FunctionsTestCase(SupyTestCase):
|
||||
self.assertEqual(callbacks.reply(msg, 'blah', to='blah', private=True),
|
||||
ircmsgs.privmsg('blah', 'blah'))
|
||||
|
||||
def testGetCommands(self):
|
||||
self.assertEqual(callbacks.getCommands(['foo']), ['foo'])
|
||||
self.assertEqual(callbacks.getCommands(['foo', 'bar']), ['foo'])
|
||||
self.assertEqual(callbacks.getCommands(['foo', ['bar', 'baz']]),
|
||||
['foo', 'bar'])
|
||||
self.assertEqual(callbacks.getCommands(['foo', 'bar', ['baz']]),
|
||||
['foo', 'baz'])
|
||||
self.assertEqual(callbacks.getCommands(['foo', ['bar'], ['baz']]),
|
||||
['foo', 'bar', 'baz'])
|
||||
|
||||
def testTokenize(self):
|
||||
self.assertEqual(callbacks.tokenize(''), [])
|
||||
self.assertEqual(callbacks.tokenize('foo'), ['foo'])
|
||||
|
Loading…
Reference in New Issue
Block a user