Ticket #18071: 18071-regression-test.diff
File 18071-regression-test.diff, 704 bytes (added by , 13 years ago) |
---|
-
tests/regressiontests/defaultfilters/tests.py
292 292 self.assertEqual(urlize('email@.stream.ru'), 293 293 u'email@.stream.ru') 294 294 295 # Check urlize accepts uppercased URL schemes - see #18071 296 self.assertEqual(urlize('HTTPS://github.com/'), 297 u'<a href="https://github.com/" rel="nofollow">HTTPS://github.com/</a>') 298 295 299 def test_wordcount(self): 296 300 self.assertEqual(wordcount(''), 0) 297 301 self.assertEqual(wordcount(u'oneword'), 1)