mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #21266 -- Fixed E201,E202 pep8 warnings.
This commit is contained in:
parent
42a67ec1cd
commit
83b9bfea44
35 changed files with 152 additions and 145 deletions
|
@ -315,9 +315,9 @@ class DefaultFiltersTests(TestCase):
|
|||
|
||||
# Check urlize handles brackets properly (#19070)
|
||||
self.assertEqual(urlize('[see www.example.com]'),
|
||||
'[see <a href="http://www.example.com" rel="nofollow">www.example.com</a>]' )
|
||||
'[see <a href="http://www.example.com" rel="nofollow">www.example.com</a>]')
|
||||
self.assertEqual(urlize('see test[at[example.com'),
|
||||
'see <a href="http://test[at[example.com" rel="nofollow">test[at[example.com</a>' )
|
||||
'see <a href="http://test[at[example.com" rel="nofollow">test[at[example.com</a>')
|
||||
self.assertEqual(urlize('[http://168.192.0.1](http://168.192.0.1)'),
|
||||
'[<a href="http://168.192.0.1](http://168.192.0.1)" rel="nofollow">http://168.192.0.1](http://168.192.0.1)</a>')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue