mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Added a test to make sure I don't make that stupid mistake (not including "msg"
in irc.error) in the same place again.
This commit is contained in:
parent
3b0276e688
commit
bef71df2ee
@ -62,6 +62,10 @@ if sqlite is not None:
|
|||||||
self.assertNotError('todo add moo')
|
self.assertNotError('todo add moo')
|
||||||
self.assertRegexp('todo tester', 'Todos for tester: '
|
self.assertRegexp('todo tester', 'Todos for tester: '
|
||||||
'#1: wash my car and #2: moo')
|
'#1: wash my car and #2: moo')
|
||||||
|
# Check error
|
||||||
|
self.assertError('todo asfas')
|
||||||
|
self.assertResponse('todo asfas', 'Error: \'asfas\' is not a '
|
||||||
|
'valid task id or username')
|
||||||
|
|
||||||
def testAddtodo(self):
|
def testAddtodo(self):
|
||||||
self.assertNotError('todo add code a new plugin')
|
self.assertNotError('todo add code a new plugin')
|
||||||
|
Loading…
Reference in New Issue
Block a user