Ticket #7355: tests.py.diff

File tests.py.diff, 535 bytes (added by clint, 16 years ago)

Update for tests

  • tests/regressiontests/defaultfilters/tests.py

     
    166166>>> urlizetrunc(uri, 2)
    167167u'<a href="http://31characteruri.com/test/" rel="nofollow">...</a>'
    168168
     169# Check normal urlize
     170>>> url = 'https://google.com'
     171>>> urlize(url)
     172u'<a href="https://google.com" rel="nofollow">https://google.com</a>'
     173
    169174>>> wordcount('')
    1701750
Back to Top