@@ 102,10 102,6 @@ FIXTURE_POSITIVE_MATCHES = [
'my.long.domain.example.com',
EXPECTED_PARAGRAPH_TEMPLATE % ('http://my.long.domain.example.com', 'my.long.domain.example.com')
),
- (
- 'localhost',
- '<p>localhosts</p>',
- ),
# Test port section.
@@ 159,12 155,6 @@ FIXTURE_NEGATIVE_MATCHES = [
'<p>.example .com</p>'
),
- # localhost as part of another word.
- (
- 'localhosts',
- EXPECTED_PARAGRAPH_TEMPLATE % ('http://localhost', 'localhost')
- ),
-
# Invalid FQDNs.
(
'example-.com',
@@ 248,4 238,4 @@ class TestUrlizeExtension:
def test_makeExtension_return_value():
extension = makeExtension()
- assert isinstance(extension, UrlizeExtension)>
\ No newline at end of file
+ assert isinstance(extension, UrlizeExtension)