From fa5ac0a8851b49eab7c16a53cc7382cf76500449 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 24 Oct 2003 22:08:15 +0000 Subject: [PATCH] Fixed test to match new output. --- plugins/Todo.py | 2 +- test/test_Todo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Todo.py b/plugins/Todo.py index 96ce44d1a..1d37233e3 100644 --- a/plugins/Todo.py +++ b/plugins/Todo.py @@ -124,7 +124,7 @@ class Todo(callbacks.Privmsg): priority = ", priority: %s" % pri added_time = time.strftime(conf.humanTimestampFormat, time.localtime(int(added_at))) - s = "%s%s (Added at: %s)" % (task, priority, added_time) + s = "%s%s (Added at %s)" % (task, priority, added_time) irc.reply(msg, s) else: cursor = self.db.cursor() diff --git a/test/test_Todo.py b/test/test_Todo.py index f11bdd80d..fde873292 100644 --- a/test/test_Todo.py +++ b/test/test_Todo.py @@ -86,7 +86,7 @@ if sqlite is not None: self.assertRegexp('todo 1', 'moo, priority: 50 \(Added ' 'at: .*?\)') self.assertNotError('setpriority 1 0') - self.assertRegexp('todo 1', 'moo \(Added at: .*?\)') + self.assertRegexp('todo 1', 'moo \(Added at .*?\)') # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: