Django

Code

Ticket #7355: tests.py.diff

File tests.py.diff, 0.5 kB (added by clint, 5 months ago)

Update for tests

  • tests/regressiontests/defaultfilters/tests.py

    old new  
    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