Show More
@@ -145,7 +145,7 b' class TestLibs(unittest.TestCase):' | |||||
145 | self.assertEqual(age(n + delt(hours=24)), u'in 1 day') |
|
145 | self.assertEqual(age(n + delt(hours=24)), u'in 1 day') | |
146 | self.assertEqual(age(n + delt(hours=24 * 5)), u'in 5 days') |
|
146 | self.assertEqual(age(n + delt(hours=24 * 5)), u'in 5 days') | |
147 | self.assertEqual(age(n + delt(hours=24 * (calendar.mdays[n.month - 1] + 2))), |
|
147 | self.assertEqual(age(n + delt(hours=24 * (calendar.mdays[n.month - 1] + 2))), | |
148 |
u'in 1 month and 1 day |
|
148 | u'in 1 month and 1 day') | |
149 | self.assertEqual(age(n + delt(hours=24 * 400)), u'in 1 year and 1 month') |
|
149 | self.assertEqual(age(n + delt(hours=24 * 400)), u'in 1 year and 1 month') | |
150 |
|
150 | |||
151 | def test_tag_exctrator(self): |
|
151 | def test_tag_exctrator(self): |
General Comments 0
You need to be logged in to leave comments.
Login now