changeset 2905:28b85b1b46cf beta

fixed typo in lib tests
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 09 Oct 2012 00:08:47 +0200
parents 1b275d04ac07
children c008f1b0cf62
files rhodecode/tests/test_libs.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/tests/test_libs.py	Tue Oct 09 00:08:35 2012 +0200
+++ b/rhodecode/tests/test_libs.py	Tue Oct 09 00:08:47 2012 +0200
@@ -145,7 +145,7 @@
         self.assertEqual(age(n + delt(hours=24)), u'in 1 day')
         self.assertEqual(age(n + delt(hours=24 * 5)), u'in 5 days')
         self.assertEqual(age(n + delt(hours=24 * (calendar.mdays[n.month - 1] + 2))),
-                         u'in 1 month and 1 days')
+                         u'in 1 month and 1 day')
         self.assertEqual(age(n + delt(hours=24 * 400)), u'in 1 year and 1 month')
 
     def test_tag_exctrator(self):