diff test/test_templating.py @ 4011:e77bcbdc9b32

add tests for numbers too :)
author Richard Jones <richard@users.sourceforge.net>
date Mon, 01 Sep 2008 01:49:47 +0000
parents 797eacd945af
children b6a2251394dd
line wrap: on
line diff
--- a/test/test_templating.py	Mon Sep 01 01:45:33 2008 +0000
+++ b/test/test_templating.py	Mon Sep 01 01:49:47 2008 +0000
@@ -124,6 +124,8 @@
         t('item123', **{'class':'item', 'id':'123'})
         t('www.user:pass@host.net', email='pass@host.net')
         t('user:pass@www.host.net', url='user:pass@www.host.net')
+        t('123.35', nothing=True)
+        t('-.3535', nothing=True)
 
     def test_url_replace(self):
         p = StringHTMLProperty(self.client, 'test', '1', None, 'test', '')

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