From: richard Date: Wed, 6 Feb 2002 03:47:16 +0000 (+0000) Subject: . #511586 ] unittest FAIL: testReldate_date X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dea936496dd9a838cb7b1362a1ff4703029b69e6;p=roundup.git . #511586 ] unittest FAIL: testReldate_date git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@613 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index 84f02a5..ed3577d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,16 @@ This file contains the changes to the Roundup system over time. The entries are given with the most recent entry first. +2002-02-?? - ????? +Fixed: + . respect encodings in non multipart messages. + . makeHtmlBase: re.sub under python 2.2 did not replace '.', string.replace + does it. + . preamble in tepmlateBuilder mentioned htmldata + . mailgw checks encoding on first part too. + . #511586 ] unittest FAIL: testReldate_date + + 2002-01-24 - 0.4.0 Feature: . much nicer history display (actualy real handling of property types etc) @@ -10,10 +20,6 @@ Feature: . you can now use the roundup-admin tool pack the database Fixed: - . respect encodings in non multipart messages. - . makeHtmlBase: re.sub under python 2.2 did not replace '.', string.replace does it. - . preamble in tepmlateBuilder mentioned htmldata - . mailgw checks encoding on first part too. . the mail gateway now responds with an error message when invalid values for arguments are specified for link or mutlilink properties . modified unit test to check nosy and assignedto when specified as arguments @@ -30,6 +36,7 @@ Fixed: . run_tests testReldate_date failed if LANG is 'german' . mailgw failures (unexpected ones) are forwarded to the roundup admin + 2002-01-16 - 0.4.0b2 Fixed: . #495392 ] empty nosy -patch diff --git a/test/test_htmltemplate.py b/test/test_htmltemplate.py index e5b1e8b..f18bd7b 100644 --- a/test/test_htmltemplate.py +++ b/test/test_htmltemplate.py @@ -8,7 +8,7 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# $Id: test_htmltemplate.py,v 1.7 2002-01-23 20:09:41 jhermann Exp $ +# $Id: test_htmltemplate.py,v 1.8 2002-02-06 03:47:16 richard Exp $ import unittest, cgi, time @@ -236,8 +236,8 @@ class NodeCase(unittest.TestCase): def testReldate_date(self): self.assertEqual(self.tf.do_reldate('date'), '- 2y 1m') - self.assertEqual(self.tf.do_reldate('date', pretty=1), - ' 1 %s 2000' % time.strftime('%B', time.localtime(0))) + date = self.tf.cl.get('1', 'date') + self.assertEqual(self.tf.do_reldate('date', pretty=1), date.pretty()) # def do_download(self, property): def testDownload_novalue(self): @@ -314,6 +314,9 @@ def suite(): # # $Log: not supported by cvs2svn $ +# Revision 1.7 2002/01/23 20:09:41 jhermann +# Proper fix for failing test +# # Revision 1.6 2002/01/23 05:47:57 richard # more HTML template cleanup and unit tests #