mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Added tests for later notes.
This commit is contained in:
parent
1979f5ad35
commit
1bf4f5554f
@ -35,6 +35,14 @@ class LaterTestCase(PluginTestCase):
|
||||
self.assertNotError('later tell foo bar')
|
||||
self.assertNotError('later tell foo baz')
|
||||
|
||||
def testLaterRemove(self):
|
||||
self.assertNotError('later tell foo 1')
|
||||
self.assertNotError('later tell bar 1')
|
||||
self.assertRegexp('later notes', 'bar.*foo')
|
||||
self.assertNotError('later remove bar')
|
||||
self.assertNotRegexp('later notes', 'bar.*foo')
|
||||
self.assertRegexp('later notes', 'foo')
|
||||
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user