Commit 24704fbe authored by Chris Withers's avatar Chris Withers

Someoen didn't run the tests before checking something in, Andreas ;-)

parent 4402195e
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
"""Document Template Tests """Document Template Tests
""" """
__rcs_id__='$Id: testDTML.py,v 1.11 2002/04/24 14:38:41 htrd Exp $' __rcs_id__='$Id: testDTML.py,v 1.12 2002/05/23 13:19:16 chrisw Exp $'
__version__='$Revision: 1.11 $'[11:-2] __version__='$Revision: 1.12 $'[11:-2]
import sys, os import sys, os
import unittest import unittest
...@@ -283,7 +283,7 @@ foo bar ...@@ -283,7 +283,7 @@ foo bar
html=<a href="spam"> html=<a href="spam">
foo bar foo bar
url=%3Ca%20href%3D%22spam%22%3E%0Afoo%20bar url=%3Ca%20href%3D%22spam%22%3E%0Afoo%20bar
multi=<a href="spam"><br> multi=<a href="spam"><br />
foo bar foo bar
dollars= dollars=
cents= cents=
...@@ -292,7 +292,7 @@ foo bar ...@@ -292,7 +292,7 @@ foo bar
res = html(spam=4200000) + html(spam=None) + html( res = html(spam=4200000) + html(spam=None) + html(
spam='<a href="spam">\nfoo bar') spam='<a href="spam">\nfoo bar')
assert res == expected, res self.assertEqual(res,expected)
def testPropogatedError(self): def testPropogatedError(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment