#NEWLINE# def test_special_chars( self ) : #NEWLINE# #INDENT# 'Tag should escape HTML entities.' #NEWLINE# url = '/hello/' #NEWLINE# params = { #NEWLINE# #INDENT# 'foo' : '?' , #NEWLINE# #UNINDENT# } #NEWLINE# retval = tags . add_parameters ( url , params ) #NEWLINE# self . assertEqual ( retval , ( self + '?foo=%3F' ) )