From 88932e36c07edd5ead66e29ae71e805036f95c43 Mon Sep 17 00:00:00 2001 From: Teury Diaz Date: Sat, 2 Feb 2019 17:29:25 -0400 Subject: [PATCH] the url localhost of the tests is deleted --- tests/plugins/links/test_urlize.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/tests/plugins/links/test_urlize.py b/tests/plugins/links/test_urlize.py index 6bf2be9a..18321a34 100644 --- a/tests/plugins/links/test_urlize.py +++ b/tests/plugins/links/test_urlize.py @@ -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', - '

localhosts

', - ), # Test port section. @@ -159,12 +155,6 @@ FIXTURE_NEGATIVE_MATCHES = [ '

.example .com

' ), - # 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) -- 2.45.2