From 1bf4f5554fe6a0e4b5ec5ab46beceb3165805906 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 23 Oct 2007 05:21:34 +0000 Subject: [PATCH] Added tests for later notes. --- plugins/Later/test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/Later/test.py b/plugins/Later/test.py index 84d70b6f5..dc3a95069 100644 --- a/plugins/Later/test.py +++ b/plugins/Later/test.py @@ -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: