summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1941cfd)
raw | patch | inline | side by side (parent: 1941cfd)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 15 May 2002 06:37:31 +0000 (06:37 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 15 May 2002 06:37:31 +0000 (06:37 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@735 57a73879-2fb5-44c3-a270-3262357dd7e2
test/test_htmltemplate.py | patch | blob | history |
index f216db7e23cf15583b3423d9797f13bab97c78de..640de29974dbdd4b2b9d56e0560ada969ba35a62 100644 (file)
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
-# $Id: test_htmltemplate.py,v 1.13 2002-04-03 05:54:31 richard Exp $
+# $Id: test_htmltemplate.py,v 1.14 2002-05-15 06:37:31 richard Exp $
import unittest, cgi, time
def testReldate_date(self):
self.assertEqual(self.tf.do_reldate('reldate'), '- 2y 1m')
- date = self.tf.cl.get('1', 'reldate')
- self.assertEqual(self.tf.do_reldate('reldate', pretty=1), date.pretty())
+ interval = date.Interval('- 2y 1m')
+ self.assertEqual(self.tf.do_reldate('reldate', pretty=1),
+ interval.pretty())
# def do_download(self, property):
def testDownload_novalue(self):
#
# $Log: not supported by cvs2svn $
+# Revision 1.13 2002/04/03 05:54:31 richard
+# Fixed serialisation problem by moving the serialisation step out of the
+# hyperdb.Class (get, set) into the hyperdb.Database.
+#
+# Also fixed htmltemplate after the showid changes I made yesterday.
+#
+# Unit tests for all of the above written.
+#
# Revision 1.12 2002/03/29 19:41:48 rochecompaan
# . Fixed display of mutlilink properties when using the template
# functions, menu and plain.