Obey the 80 chars limit.

svn path=/plone.app.discussion/trunk/; revision=40526
This commit is contained in:
Timo Stollenwerk 2010-10-06 08:47:24 +00:00
parent 94b0c58511
commit f9ca4497bd
1 changed files with 2 additions and 1 deletions

View File

@ -368,7 +368,8 @@ class TestCommentsViewlet(PloneTestCase):
# a correct utc time that can be used to make datetime set the utc
# time of the local time given above. That way, the time for the
# example below is correct within each time zone, independent of DST
python_time = datetime(*time.gmtime(time.mktime(python_time.timetuple()))[:7])
python_time = datetime(
*time.gmtime(time.mktime(python_time.timetuple()))[:7])
localized_time = self.viewlet.format_time(python_time)
self.assertEquals(localized_time, "Feb 01, 2009 11:32 PM")