diff test/test_htmltemplate.py @ 704:54333751e98d search_indexing-0-4-2-branch

Brought search_indexing-branch up to date with latest changes in HEAD.
author Roche Compaan <rochecompaan@users.sourceforge.net>
date Thu, 02 May 2002 13:09:11 +0000
parents d92e06a3a56e
children
line wrap: on
line diff
--- a/test/test_htmltemplate.py	Thu May 02 11:52:12 2002 +0000
+++ b/test/test_htmltemplate.py	Thu May 02 13:09:11 2002 +0000
@@ -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.12 2002-03-29 19:41:48 rochecompaan Exp $ 
+# $Id: test_htmltemplate.py,v 1.12.2.1 2002-05-02 13:09:10 rochecompaan Exp $ 
 
 import unittest, cgi, time
 
@@ -234,10 +234,18 @@
         self.assertEqual(self.tf.do_link('link'),
             '<a href="other1">the key1</a>')
 
+    def testLink_link_id(self):
+        self.assertEqual(self.tf.do_link('link', showid=1),
+            '<a href="other1" title="the key1">1</a>')
+
     def testLink_multilink(self):
         self.assertEqual(self.tf.do_link('multilink'),
             '<a href="other1">the key1</a>, <a href="other2">the key2</a>')
 
+    def testLink_multilink_id(self):
+        self.assertEqual(self.tf.do_link('multilink', showid=1),
+            '<a href="other1" title="the key1">1</a>, <a href="other2" title="the key2">2</a>')
+
 #    def do_count(self, property, **args):
     def testCount_nonlinks(self):
         s = _('[Count: not a Multilink]')
@@ -344,6 +352,18 @@
 
 #
 # $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.
+#
 # Revision 1.11  2002/02/21 23:11:45  richard
 #  . fixed some problems in date calculations (calendar.py doesn't handle over-
 #    and under-flow). Also, hour/minute/second intervals may now be more than

Roundup Issue Tracker: http://roundup-tracker.org/