Fixed Added at: format again.

This commit is contained in:
Jeremy Fincher 2003-10-24 22:46:48 +00:00
parent 3538f2c7b4
commit f83b2fb135

View File

@ -81,10 +81,10 @@ if sqlite is not None:
def testSetPriority(self): def testSetPriority(self):
self.assertNotError('todo add --priority=1 moo') self.assertNotError('todo add --priority=1 moo')
self.assertRegexp('todo 1', 'moo, priority: 1 \(Added ' self.assertRegexp('todo 1', 'moo, priority: 1 \(Added '
'at: .*?\)') 'at .*?\)')
self.assertNotError('setpriority 1 50') self.assertNotError('setpriority 1 50')
self.assertRegexp('todo 1', 'moo, priority: 50 \(Added ' self.assertRegexp('todo 1', 'moo, priority: 50 \(Added '
'at: .*?\)') 'at .*?\)')
self.assertNotError('setpriority 1 0') self.assertNotError('setpriority 1 0')
self.assertRegexp('todo 1', 'moo \(Added at .*?\)') self.assertRegexp('todo 1', 'moo \(Added at .*?\)')