Kaydet (Commit) b06f6c16 authored tarafından Aymeric Augustin's avatar Aymeric Augustin

Fixed test failure introduced in 1927bf7c.

üst f88700d6
...@@ -312,7 +312,7 @@ class DefaultFiltersTests(TestCase): ...@@ -312,7 +312,7 @@ class DefaultFiltersTests(TestCase):
self.assertEqual(urlize('see test[at[example.com'), 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)'), self.assertEqual(urlize('[http://168.192.0.1](http://168.192.0.1)'),
u'[<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>') '[<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>')
# Check urlize works with IPv4/IPv6 addresses # Check urlize works with IPv4/IPv6 addresses
self.assertEqual(urlize('http://192.168.0.15/api/9'), self.assertEqual(urlize('http://192.168.0.15/api/9'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment